mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/StarCitizenBoxBrowserEx.git
synced 2024-12-22 19:33:43 +08:00
更换服务器地址
This commit is contained in:
parent
ea7b587ccf
commit
d6192cd165
@ -108,7 +108,7 @@ function getLocalizationResource(localizationResource, key) {
|
||||
}
|
||||
|
||||
async function _getJsonData(fileName, { cacheKey = "", version = null } = {}) {
|
||||
url = "https://ch.citizenwiki.cn/json-files/locales/" + fileName;
|
||||
url = "https://git.sctoolbox.sccsgo.com/SCToolBox/ScWeb_Chinese_Translate/raw/branch/main/json/locales/" + fileName;
|
||||
if (cacheKey && cacheKey !== "") {
|
||||
const localVersion = await getLocalData(`${cacheKey}_version`);
|
||||
const data = await getLocalData(cacheKey);
|
||||
|
@ -8,7 +8,7 @@
|
||||
"192": "icon.png"
|
||||
},
|
||||
"host_permissions": [
|
||||
"*://ch.citizenwiki.cn/"
|
||||
"*://git.sctoolbox.sccsgo.com/"
|
||||
],
|
||||
"permissions": [
|
||||
"storage"
|
||||
|
@ -108,7 +108,7 @@ function getLocalizationResource(localizationResource, key) {
|
||||
}
|
||||
|
||||
async function _getJsonData(fileName, { cacheKey = "", version = null } = {}) {
|
||||
url = "https://ch.citizenwiki.cn/json-files/locales/" + fileName;
|
||||
url = "https://git.sctoolbox.sccsgo.com/SCToolBox/ScWeb_Chinese_Translate/raw/branch/main/json/locales/" + fileName;
|
||||
if (cacheKey && cacheKey !== "") {
|
||||
const localVersion = await getLocalData(`${cacheKey}_version`);
|
||||
const data = await getLocalData(cacheKey);
|
||||
|
@ -9,7 +9,7 @@
|
||||
},
|
||||
"permissions": [
|
||||
"storage",
|
||||
"https://ch.citizenwiki.cn/*"
|
||||
"https://git.sctoolbox.sccsgo.com/*"
|
||||
],
|
||||
"browser_action": {
|
||||
"default_icon": "icon.png",
|
||||
|
Loading…
Reference in New Issue
Block a user