miniuser服务器连接地址修改
CI / verify (pull_request) Has been cancelled

This commit is contained in:
2026-07-17 08:34:37 +08:00
parent 57172d54d5
commit ed44e88e93
3 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import { createRequire } from 'node:module';
import path from 'node:path';
import { defineConfig } from '@tarojs/cli';
/** 小程序/H5 请求的后端 origin(不含 /api);本地联调可用 VITE_API_TARGET 覆盖 */
const API_ORIGIN = process.env.VITE_API_TARGET ?? 'https://dkapi.runxian.top';
/** 小程序/H5 请求的后端 origin(不含 /api);发版/连远程请设 VITE_API_TARGET */
const API_ORIGIN = process.env.VITE_API_TARGET ?? 'http://localhost:3000';
const requireFromApp = createRequire(path.resolve(__dirname, '../package.json'));