微信 小程序

This commit is contained in:
ZLI263
2025-11-28 10:14:31 +08:00
parent 1fa9d45b3c
commit d42d236452

View File

@@ -48,11 +48,17 @@
"h5" : {
"devServer" : {
"port" : 8080,
"https" : false,
"disableHostCheck" : true,
"proxy" : {
"^/api" : {
"target" : "https://api.huayang-star.com",
// 注意此代理target需要与 common/env.js 中的 apiEnv 配置保持一致
// 如果 apiEnv 为 'local'target 应为 "http://localhost:8090"
// 如果 apiEnv 为 'prod'target 应为 "https://api.huayang-star.com"
"target" : "http://localhost:8090",
"changeOrigin" : true,
"secure" : true
"secure" : false,
"ws" : false
}
}
}