Browse Source

Merge pull request #9858 from imscytha/fix/gcs-signed-url

fix(GCS): set the response headers accordingly
dependabot/npm_and_yarn/vue-i18n-9.14.2
Pranav C 2 days ago committed by GitHub
parent
commit
3e86daa612
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      packages/nocodb/src/plugins/gcs/Gcs.ts

3
packages/nocodb/src/plugins/gcs/Gcs.ts

@ -179,7 +179,8 @@ export default class Gcs implements IStorageAdapterV2 {
version: 'v4',
action: 'read',
expires: Date.now() + expiresInSeconds * 1000,
extensionHeaders: pathParameters,
responseDisposition: pathParameters?.ResponseContentDisposition,
responseType: pathParameters?.ResponseContentType
};
const [url] = await this.storageClient

Loading…
Cancel
Save