Deprecated sctoolbox.sccsgo.com

This commit is contained in:
xkeyC 2024-07-10 15:01:50 +08:00 committed by GitHub
parent 7ab69ab30a
commit d917d200e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);