vite-plugin-deploy-oss 0.0.9 → 0.0.11
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.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -54,7 +54,6 @@ function vitePluginDeployOss(option) {
|
|
|
54
54
|
autoDelete = false,
|
|
55
55
|
alias,
|
|
56
56
|
open = true,
|
|
57
|
-
isCache = false,
|
|
58
57
|
...props
|
|
59
58
|
} = option || {};
|
|
60
59
|
let upload = false;
|
|
@@ -96,7 +95,7 @@ function vitePluginDeployOss(option) {
|
|
|
96
95
|
headers: {
|
|
97
96
|
"x-oss-storage-class": "Standard",
|
|
98
97
|
"x-oss-object-acl": "default",
|
|
99
|
-
|
|
98
|
+
"Cache-Control": "public, max-age=3600, immutable",
|
|
100
99
|
...overwrite && {
|
|
101
100
|
"x-oss-forbid-overwrite": "false"
|
|
102
101
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -20,7 +20,6 @@ function vitePluginDeployOss(option) {
|
|
|
20
20
|
autoDelete = false,
|
|
21
21
|
alias,
|
|
22
22
|
open = true,
|
|
23
|
-
isCache = false,
|
|
24
23
|
...props
|
|
25
24
|
} = option || {};
|
|
26
25
|
let upload = false;
|
|
@@ -62,7 +61,7 @@ function vitePluginDeployOss(option) {
|
|
|
62
61
|
headers: {
|
|
63
62
|
"x-oss-storage-class": "Standard",
|
|
64
63
|
"x-oss-object-acl": "default",
|
|
65
|
-
|
|
64
|
+
"Cache-Control": "public, max-age=3600, immutable",
|
|
66
65
|
...overwrite && {
|
|
67
66
|
"x-oss-forbid-overwrite": "false"
|
|
68
67
|
}
|