Merge pull request #5718 from urbit/hm/s3-v4-signatures

s3: adding v4 signatures for updated compatibility
This commit is contained in:
Hunter Miller 2022-04-20 11:32:11 -05:00 committed by GitHub
commit fd6aa680be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,8 @@ const useStorage = ({ accept = '*' } = { accept: '*' }): IuseStorage => {
}
client.current = new S3Client({
credentials: s3.credentials,
endpoint: s3.credentials.endpoint
endpoint: s3.credentials.endpoint,
signatureVersion: 'v4'
});
}
}, [gcp.token, s3.credentials]);