mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(api): redirect artifact downloads to presigned storage URLs (#1703)
This commit is contained in:
1 parent
c35d29ea0b
commit
41c7acdd8f
11 files changed
+149
-2
No files matched your search
@@ -305,7 +305,13 @@ export class MockStorageService implements IStorageService {
|
||||
await this.deleteObject(params.sourceBucket, params.sourceKey);
|
||||
}
|
||||
|
||||
async getPresignedDownloadURL(_params: {bucket: string; key: string; expiresIn?: number}): Promise<string> {
|
||||
async getPresignedDownloadURL(_params: {
|
||||
bucket: string;
|
||||
key: string;
|
||||
expiresIn?: number;
|
||||
responseContentType?: string;
|
||||
responseContentDisposition?: string;
|
||||
}): Promise<string> {
|
||||
this.getPresignedDownloadURLSpy(_params);
|
||||
return 'https://presigned.url/test';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user