@pisell/common 0.0.41 → 0.0.42

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.
@@ -84,7 +84,7 @@ var uploadFile = /*#__PURE__*/function () {
84
84
  contentType = mime.lookup(filePath);
85
85
  uploadParams = {
86
86
  Bucket: bucketName,
87
- Key: "static/".concat(directory, "/").concat(fileKey),
87
+ Key: "".concat(directory, "/").concat(fileKey),
88
88
  // 指定目录路径
89
89
  Body: fileStream,
90
90
  ContentType: contentType,
@@ -71,7 +71,7 @@ var uploadFile = async (directory, fileKey, filePath) => {
71
71
  const contentType = import_mime_types.default.lookup(filePath);
72
72
  const uploadParams = {
73
73
  Bucket: bucketName,
74
- Key: `static/${directory}/${fileKey}`,
74
+ Key: `${directory}/${fileKey}`,
75
75
  // 指定目录路径
76
76
  Body: fileStream,
77
77
  ContentType: contentType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/common",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "A collection of reusable UI components for web development",
5
5
  "license": "MIT",
6
6
  "sideEffects": [