diff --git a/backend/src/utils/script-resource-cache.js b/backend/src/utils/script-resource-cache.js index d497e3a..d4d1ada 100644 --- a/backend/src/utils/script-resource-cache.js +++ b/backend/src/utils/script-resource-cache.js @@ -65,7 +65,7 @@ class ResourceCache { } function getExpiredTime() { - console.log($.read(CSR_EXPIRATION_TIME_KEY)); + // console.log($.read(CSR_EXPIRATION_TIME_KEY)); if (!$.read(CSR_EXPIRATION_TIME_KEY)) { $.write('1728e5', CSR_EXPIRATION_TIME_KEY); // 48 * 3600 * 1000 } @@ -88,7 +88,7 @@ function getExpiredTime() { '\u53c2\u6570\u4f20\u5165': 'readcachets', // "参数输入" }; let intimed = $.read('#\u8282\u70b9\u7f13\u5b58\u6709\u6548\u671f'); // Loon #节点缓存有效期 - console.log(intimed); + // console.log(intimed); if (intimed in loont) { expiration = loont[intimed]; if (expiration === 'readcachets') { diff --git a/config/Surge.sgmodule b/config/Surge.sgmodule index 6452a1a..263030b 100644 --- a/config/Surge.sgmodule +++ b/config/Surge.sgmodule @@ -4,7 +4,6 @@ hostname=%APPEND% sub.store [Script] -Sub-Store Core=type=http-request,pattern=^https?:\/\/sub\.store\/((download)|api\/(preview|sync|(utils\/node-info))),script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-1.min.js,requires-body=true,timeout=120,ability=http-client-policy -Sub-Store Simple=type=http-request,pattern=^https?:\/\/sub\.store,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-0.min.js,requires-body=true +Sub-Store=type=http-request,pattern=^https?:\/\/sub\.store,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store.min.js,requires-body=true Sub-Store Sync=type=cron,cronexp=0 0 * * *,wake-system=1,timeout=120,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js