mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08:13 -05:00
✨ Feature: add a new buildin picbed - local pc
This commit is contained in:
parent
57bf45fb15
commit
5018ce7ce7
@ -66,7 +66,7 @@
|
||||
"mime-types": "^2.1.35",
|
||||
"mitt": "^3.0.0",
|
||||
"nodejs-file-downloader": "^4.12.1",
|
||||
"piclist": "^0.7.0",
|
||||
"piclist": "^0.7.2",
|
||||
"pinia": "^2.1.4",
|
||||
"pinia-plugin-persistedstate": "^3.1.0",
|
||||
"qiniu": "^7.8.0",
|
||||
|
@ -7,13 +7,13 @@ export const getLatestVersion = async (): Promise<string> => {
|
||||
const { data: normalList } = await axios.get(RELEASE_URL)
|
||||
return normalList[0].name
|
||||
} catch (err) {
|
||||
console.log(err)
|
||||
console.error('Error fetching latest version: ', err)
|
||||
try {
|
||||
const { data } = await axios.get(`${RELEASE_URL_BACKUP}/latest.yml`)
|
||||
const r = yaml.load(data) as IStringKeyMap
|
||||
return r.version
|
||||
} catch (err) {
|
||||
console.log(err)
|
||||
console.error('Error fetching backup latest version: ', err)
|
||||
return ''
|
||||
}
|
||||
}
|
||||
|
@ -11054,10 +11054,10 @@ performance-now@^2.1.0:
|
||||
resolved "https://registry.npmmirror.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
|
||||
integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==
|
||||
|
||||
piclist@^0.7.0:
|
||||
version "0.7.0"
|
||||
resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.0.tgz#a01b18eb66922624643525aa335e2851a52d41fd"
|
||||
integrity sha512-nTi55d41uOKyO1RbERRsgS5xicF4EQa0Syro9J9MDot/n3uTc9cux0K7lOrqEpQ6iSAuxjWEbuO8Nj/gF4fOfQ==
|
||||
piclist@^0.7.2:
|
||||
version "0.7.2"
|
||||
resolved "https://registry.npmjs.org/piclist/-/piclist-0.7.2.tgz#d9bfa7038ca0ab8466841b1d1690e2620e064de7"
|
||||
integrity sha512-JvBpISUI3lg9YYqULpCtuHoJXdGy/1gIXjXXnKAlD8INejGn/vflXUu0YnitezLpN/DSe4wlNwfU47jacwfI8g==
|
||||
dependencies:
|
||||
"@picgo/i18n" "^1.0.0"
|
||||
"@picgo/store" "^2.0.4"
|
||||
|
Loading…
Reference in New Issue
Block a user