Browse Source

Remove some remote configs

dependabot/npm_and_yarn/axios-0.21.1
CareyWong 4 years ago
parent
commit
4f37ec7c17
  1. 16
      src/views/Subconverter.vue

16
src/views/Subconverter.vue

@ -316,16 +316,6 @@ export default {
label: "ssrCloud",
value:
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/ssrcloud.ini"
},
{
label: "贼船",
value:
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/zeichuan.ini"
},
{
label: "布丁",
value:
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/pud.ini"
}
]
},
@ -643,16 +633,16 @@ export default {
if (ls !== null) {
let data = JSON.parse(ls)
if (data.expire > now) {
itemValue = data.value
itemValue = data.value
} else {
localStorage.removeItem(itemKey)
}
}
return itemValue
return itemValue
},
setLocalStorageItem(itemKey, itemValue) {
const ttl = process.env.VUE_APP_CACHE_TTL
const ttl = process.env.VUE_APP_CACHE_TTL
const now = +new Date()
let data = {

Loading…
Cancel
Save