fix: 小程序/H5 API 地址指向错误导致登录失败

- .env.production VITE_PROD_API_HOST 从旧域名 aicc.yzrcloud.cn 改为
  zhiyinwx.yzrcloud.cn
- config.ts api() 函数增加 MP-WEIXIN 编译分支,小程序直接使用
  VITE_PROD_API_HOST,H5 保持同源请求
This commit is contained in:
yuzhiran
2026-06-11 19:39:59 +08:00
parent c321a8dcb1
commit e021e194c4
1891 changed files with 31 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const test_1 = require("@playwright/test");
exports.default = (0, test_1.defineConfig)({
testDir: './test',
testMatch: '*.browser.spec.ts',
timeout: 30000,
use: {
baseURL: 'http://localhost:3006',
},
});
//# sourceMappingURL=playwright.config.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"playwright.config.js","sourceRoot":"","sources":["playwright.config.ts"],"names":[],"mappings":";;AAAA,2CAA+C;AAE/C,kBAAe,IAAA,mBAAY,EAAC;IAC1B,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,mBAAmB;IAC9B,OAAO,EAAE,KAAK;IACd,GAAG,EAAE;QACH,OAAO,EAAE,uBAAuB;KACjC;CACF,CAAC,CAAA"}