Skip to content

Commit

Permalink
add https:// to url
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros authored and ilijabojanovic committed Nov 18, 2024
1 parent 5533b15 commit 9fbb511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/shared/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function formatBucketUrlToAssetCDN(uploadLocation: string) {
['production', 'beta'].includes(process.env.APP_ENV)
) {
const fileName = uploadLocation.split('/').pop() || '';
return `${S3_ASSET_BUCKET_CDN}/${fileName}`;
return `https://${S3_ASSET_BUCKET_CDN}/${fileName}`;
}
return uploadLocation;
}
Expand Down

0 comments on commit 9fbb511

Please sign in to comment.