@pisell/common 0.0.37 → 0.0.38
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/es/script/aws/index.js
CHANGED
|
@@ -87,7 +87,7 @@ var uploadFile = /*#__PURE__*/function () {
|
|
|
87
87
|
Key: "static/".concat(directory, "/").concat(fileKey),
|
|
88
88
|
// 指定目录路径
|
|
89
89
|
Body: fileStream,
|
|
90
|
-
|
|
90
|
+
ContentType: contentType,
|
|
91
91
|
ACL: 'public-read' // 设置ACL权限为公共读取
|
|
92
92
|
};
|
|
93
93
|
command = new PutObjectCommand(uploadParams);
|
package/lib/script/aws/index.js
CHANGED