📦 Chore: update cos upload url

This commit is contained in:
PiEgg
2022-08-14 23:21:53 +08:00
parent 09ee0947cd
commit 86012c0c7b
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ const pkg = require('../package.json')
const version = pkg.version
// TODO: use the same name format
const generateURL = (platform, ext, prefix = 'PicGo-') => {
return `https://picgo-1251750343.cos.ap-chengdu.myqcloud.com/${prefix}${version}${platform}${ext}`
return `https://picgo-1251750343.cos.ap-chengdu.myqcloud.com/${version}/${prefix}${version}${platform}${ext}`
}
const platformExtList = [