统一小程序多环境请求地址
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user