diff --git a/JC-ArtList-WeChat/utils/config.js b/JC-ArtList-WeChat/utils/config.js index 60785d4a..0a970d5f 100644 --- a/JC-ArtList-WeChat/utils/config.js +++ b/JC-ArtList-WeChat/utils/config.js @@ -123,7 +123,7 @@ const DEFAULT_DOMAINS = { local: 'http://127.0.0.1:80', tunnel: 'https://yunail.art', 'dev-remote': 'https://yunail.art', - trial: 'https://yunail.art', + trial: 'https://sit.yunail.art', release: 'https://yunail.art' } @@ -140,7 +140,7 @@ const DOMAIN_MAP = { * Purpose: DEFAULT_DEVELOP_TARGET supports config.js by holding or executing the default develop target page or API role. * Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow. */ -const DEFAULT_DEVELOP_TARGET = IS_DEVTOOLS ? 'local' : 'dev-remote' +const DEFAULT_DEVELOP_TARGET = 'local' /** * Purpose: DEVELOP_TARGET supports config.js by holding or executing the develop target page or API role. * Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow. diff --git a/JC-ArtList-WeChat/utils/config.local.example.js b/JC-ArtList-WeChat/utils/config.local.example.js index 14b0cd41..292e1e73 100644 --- a/JC-ArtList-WeChat/utils/config.local.example.js +++ b/JC-ArtList-WeChat/utils/config.local.example.js @@ -9,7 +9,7 @@ module.exports = { local: 'http://127.0.0.1:80', tunnel: 'https://yunail.art', 'dev-remote': 'https://yunail.art', - trial: 'https://yunail.art', + trial: 'https://sit.yunail.art', release: 'https://yunail.art' } } diff --git a/JC-Salon-WeChat/utils/config.js b/JC-Salon-WeChat/utils/config.js index be914c00..91afbcdc 100644 --- a/JC-Salon-WeChat/utils/config.js +++ b/JC-Salon-WeChat/utils/config.js @@ -127,12 +127,12 @@ const DEFAULT_DOMAINS = { local: 'http://127.0.0.1:80', tunnel: 'http://wcy111.top:18888', 'dev-remote': 'http://wcy111.top:18888', - trial: 'https://yunail.art', + trial: 'https://sit.yunail.art', release: 'https://yunail.art' } const DOMAIN_MAP = mergeDomains(DEFAULT_DOMAINS, localOverride.domains) -const DEFAULT_DEVELOP_TARGET = IS_DEVTOOLS ? 'local' : 'dev-remote' +const DEFAULT_DEVELOP_TARGET = 'local' const DEVELOP_TARGET = Object.prototype.hasOwnProperty.call(localOverride, 'developTarget') ? String(localOverride.developTarget) : DEFAULT_DEVELOP_TARGET diff --git a/JC-Salon-WeChat/utils/config.local.example.js b/JC-Salon-WeChat/utils/config.local.example.js index 807bd8c7..0f066672 100644 --- a/JC-Salon-WeChat/utils/config.local.example.js +++ b/JC-Salon-WeChat/utils/config.local.example.js @@ -12,7 +12,7 @@ module.exports = { local: 'http://127.0.0.1:80', tunnel: 'http://dev.yunail.art:18888', 'dev-remote': 'http://dev.yunail.art:18888', - trial: 'https://yunail.art', + trial: 'https://sit.yunail.art', release: 'https://yunail.art' } }