Skip to content

Commit

Permalink
Update getSignedUrl.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hanicker authored Nov 5, 2024
1 parent 893e433 commit 124fbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/OpenSignServer/cloud/parsefunction/getSignedUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function getPresignedUrl(url, adapter) {
AWS.config.update({ credentials: credentials, region: adapter?.region || process.env.DO_REGION });
const spacesEndpoint = adapter?.endpoint || new AWS.Endpoint(process.env.DO_ENDPOINT);

const s3 = new AWS.S3({ endpoint: spacesEndpoint });
const s3 = new AWS.S3({ endpoint: spacesEndpoint, signatureVersion: "v4" });

// Create a new URL object
const parsedUrl = new URL(url);
Expand Down

0 comments on commit 124fbfd

Please sign in to comment.