Skip to content

Commit

Permalink
更新七牛云节点描述和新增「亚太-首尔」节点
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaou66 committed Feb 25, 2023
1 parent eb97fac commit d46a181
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pictureBed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
3 changes: 2 additions & 1 deletion pictureBed/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -202,4 +203,4 @@ function portUsed(port) {
});
}

window.onPluginReady = utools.onPluginReady ? utools.onPluginReady : (callback) => { callback() };
window.onPluginReady = utools.onPluginReady ? utools.onPluginReady : (callback) => { callback() };
11 changes: 6 additions & 5 deletions picturebed-vue/src/views/setting/QiNiu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@
</a-form-item>
<a-form-item label="区域">
<a-select v-model="oss.Qiniu.zone">
<a-select-option value="Zone_z0">华东</a-select-option>
<a-select-option value="Zone_z1">华北</a-select-option>
<a-select-option value="Zone_z2">华南</a-select-option>
<a-select-option value="Zone_na0">北美</a-select-option>
<a-select-option value="Zone_as0">东南亚</a-select-option>
<a-select-option value="Zone_z0">华东-浙江</a-select-option>
<a-select-option value="Zone_z1">华北-河北</a-select-option>
<a-select-option value="Zone_z2">华南-广东</a-select-option>
<a-select-option value="Zone_na0">北美-洛杉矶</a-select-option>
<a-select-option value="Zone_as0">亚太-新加坡(原东南亚)</a-select-option>
<a-select-option value="Zone_cn-east-2">华东-浙江2</a-select-option>
<a-select-option value="Zone_ap-northeast-1">亚太-首尔</a-select-option>
</a-select>
</a-form-item>
<a-form-item label="使用cdn加速">
Expand Down

0 comments on commit d46a181

Please sign in to comment.