diff --git a/pictureBed/package.json b/pictureBed/package.json
index d2e7470..47b28c7 100644
--- a/pictureBed/package.json
+++ b/pictureBed/package.json
@@ -12,7 +12,7 @@
"koa": "^2.13.1",
"mime-types": "^2.1.27",
"node-fetch": "2",
- "qiniu": "^7.4.0",
+ "qiniu": "^7.8.0",
"server-destroy": "^1.0.1"
}
}
diff --git a/pictureBed/preload.js b/pictureBed/preload.js
index 204bb8d..42a7b96 100644
--- a/pictureBed/preload.js
+++ b/pictureBed/preload.js
@@ -4,6 +4,7 @@ const path = require('path');
const nodeFetch = require('node-fetch');
window.pluginInfo = JSON.parse(fs.readFileSync(path.join(__dirname, 'plugin.json')));
window.qiniu = require('qiniu');
+window.qiniu.zone.
window.nodeFetch = nodeFetch;
const mineMap = {
"image/bmp": "bmp",
@@ -202,4 +203,4 @@ function portUsed(port) {
});
}
-window.onPluginReady = utools.onPluginReady ? utools.onPluginReady : (callback) => { callback() };
\ No newline at end of file
+window.onPluginReady = utools.onPluginReady ? utools.onPluginReady : (callback) => { callback() };
diff --git a/picturebed-vue/src/views/setting/QiNiu.vue b/picturebed-vue/src/views/setting/QiNiu.vue
index 58789c8..fbdd26c 100644
--- a/picturebed-vue/src/views/setting/QiNiu.vue
+++ b/picturebed-vue/src/views/setting/QiNiu.vue
@@ -14,12 +14,13 @@
- 华东
- 华北
- 华南
- 北美
- 东南亚
+ 华东-浙江
+ 华北-河北
+ 华南-广东
+ 北美-洛杉矶
+ 亚太-新加坡(原东南亚)
华东-浙江2
+ 亚太-首尔