@ccci/micro-server 1.0.144 → 1.0.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -281740,10 +281740,10 @@ class UploaderS3 {
|
|
|
281740
281740
|
}));
|
|
281741
281741
|
Logger.info("File uploaded successfully:", { key, response: response4 });
|
|
281742
281742
|
const metadata = {
|
|
281743
|
-
Bucket:
|
|
281743
|
+
Bucket: bucketName,
|
|
281744
281744
|
Key: key,
|
|
281745
281745
|
Etag: response4.ETag,
|
|
281746
|
-
Location: `https
|
|
281746
|
+
Location: `https://${bucketName}.${process.env.S3_REGION_CODE}.cdn.${process.env.S3_DOMAIN}.com/${key}`,
|
|
281747
281747
|
MimeType: contentType
|
|
281748
281748
|
};
|
|
281749
281749
|
return metadata;
|