mirror of
https://github.com/docmost/docmost.git
synced 2025-11-17 19:41:10 +10:00
Allow AWS SDK use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
This commit is contained in:
@ -34,9 +34,6 @@ export class S3Driver implements StorageDriver {
|
||||
});
|
||||
|
||||
await this.s3Client.send(command);
|
||||
// we can get the path from location
|
||||
|
||||
console.log(`File uploaded successfully: ${filePath}`);
|
||||
} catch (err) {
|
||||
throw new Error(`Failed to upload file: ${(err as Error).message}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user