This commit is contained in:
eric
2025-09-09 23:04:54 +08:00
parent 1cb0295d2d
commit 9cfa939722
4 changed files with 5 additions and 7 deletions

View File

@@ -116,9 +116,7 @@ const config = {
// port: 10087, // 选择一个适当的端口号
proxy: {
"/api/": {
// target: JSON.parse('"http://localhost:8200"'), //本地调试端口
target: JSON.parse('"http://192.168.31.222:8200"'), //本地调试端口
target: JSON.parse('"http://localhost:8700"'), //本地调试端口
pathRewrite: {
"^/api/": "/",
},

View File

@@ -3,7 +3,7 @@ module.exports = {
NODE_ENV: '"production"'
},
defineConstants: {
'process.env.TARO_API_API': JSON.stringify("https://api.hackrobot.cn")
'process.env.TARO_API_API': JSON.stringify("https://payjs.dsx2020.com")
},
mini: {},
h5: {