diff options
Diffstat (limited to 'server/lib/object-storage/pre-signed-urls.ts')
-rw-r--r-- | server/lib/object-storage/pre-signed-urls.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/object-storage/pre-signed-urls.ts b/server/lib/object-storage/pre-signed-urls.ts index 313654a57..caf149bb8 100644 --- a/server/lib/object-storage/pre-signed-urls.ts +++ b/server/lib/object-storage/pre-signed-urls.ts | |||
@@ -15,8 +15,8 @@ export async function generateWebVideoPresignedUrl (options: { | |||
15 | const key = generateWebVideoObjectStorageKey(file.filename) | 15 | const key = generateWebVideoObjectStorageKey(file.filename) |
16 | 16 | ||
17 | const command = new GetObjectCommand({ | 17 | const command = new GetObjectCommand({ |
18 | Bucket: CONFIG.OBJECT_STORAGE.VIDEOS.BUCKET_NAME, | 18 | Bucket: CONFIG.OBJECT_STORAGE.WEB_VIDEOS.BUCKET_NAME, |
19 | Key: buildKey(key, CONFIG.OBJECT_STORAGE.VIDEOS), | 19 | Key: buildKey(key, CONFIG.OBJECT_STORAGE.WEB_VIDEOS), |
20 | ResponseContentDisposition: `attachment; filename=${downloadFilename}` | 20 | ResponseContentDisposition: `attachment; filename=${downloadFilename}` |
21 | }) | 21 | }) |
22 | 22 | ||