mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/StarCitizenBoxBrowserEx.git
synced 2025-02-05 19:54:33 +08:00
Deprecated sctoolbox.sccsgo.com
This commit is contained in:
parent
7ab69ab30a
commit
d917d200e2
@ -113,7 +113,7 @@ function getLocalizationResource(localizationResource, key) {
|
||||
}
|
||||
|
||||
async function _getJsonData(fileName, {cacheKey = "", version = null} = {}) {
|
||||
url = "https://git.sctoolbox.sccsgo.com/SCToolBox/ScWeb_Chinese_Translate/raw/branch/main/json/locales/" + fileName;
|
||||
url = "https://git.scbox.xkeyc.cn/SCToolBox/ScWeb_Chinese_Translate/raw/branch/main/json/locales/" + fileName;
|
||||
if (cacheKey && cacheKey !== "") {
|
||||
const localVersion = await getLocalData(`${cacheKey}_version`);
|
||||
const data = await getLocalData(cacheKey);
|
||||
|
@ -113,7 +113,7 @@ function getLocalizationResource(localizationResource, key) {
|
||||
}
|
||||
|
||||
async function _getJsonData(fileName, {cacheKey = "", version = null} = {}) {
|
||||
url = "https://git.sctoolbox.sccsgo.com/SCToolBox/ScWeb_Chinese_Translate/raw/branch/main/json/locales/" + fileName;
|
||||
url = "https://git.scbox.xkeyc.cn/SCToolBox/ScWeb_Chinese_Translate/raw/branch/main/json/locales/" + fileName;
|
||||
if (cacheKey && cacheKey !== "") {
|
||||
const localVersion = await getLocalData(`${cacheKey}_version`);
|
||||
const data = await getLocalData(cacheKey);
|
||||
|
Loading…
x
Reference in New Issue
Block a user