Skip to content

Commit

Permalink
trim location
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr13 committed Jan 8, 2025
1 parent 73da362 commit c55461b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class S3Uploader {
async getS3LocationLink(out) {
const response = await out.done();

let s3Location = response?.Location;
let s3Location = response?.Location?.trim();

if (!s3Location) {
s3Location = out?.singleUploadResult?.Location;
Expand Down

0 comments on commit c55461b

Please sign in to comment.