|
@@ -15,11 +15,9 @@ beforeEach(() => {
|
|
|
|
|
|
|
|
// 与 config.js 保持一致:develop / trial / release 三端统一指向同一生产域名;
|
|
// 与 config.js 保持一致:develop / trial / release 三端统一指向同一生产域名;
|
|
|
// 非小程序环境、env 缺失或未知 envVersion 时,回落到模块顶部的默认值。
|
|
// 非小程序环境、env 缺失或未知 envVersion 时,回落到模块顶部的默认值。
|
|
|
-// 2026-11-03 H5 Mixed Content 修复:默认值改为 https(含 H5 非小程序环境),
|
|
|
|
|
-// H5 页面在浏览器中还会按 window.location.protocol 覆盖为同源 cfc.iwintrue.com。
|
|
|
|
|
// 换域名时只需改这两行(对应 config.js 的 switch 分支与顶部默认值)。
|
|
// 换域名时只需改这两行(对应 config.js 的 switch 分支与顶部默认值)。
|
|
|
const PROD_HOST = 'https://cfc.etotem.com.cn'
|
|
const PROD_HOST = 'https://cfc.etotem.com.cn'
|
|
|
-const FALLBACK_HOST = 'https://cfc.etotem.com.cn'
|
|
|
|
|
|
|
+const FALLBACK_HOST = 'http://cfc.iwintrue.com'
|
|
|
|
|
|
|
|
describe('config.js', () => {
|
|
describe('config.js', () => {
|
|
|
beforeEach(() => {
|
|
beforeEach(() => {
|