批量优化
This commit is contained in:
1 parent
e3db229f41
commit
aa92ca40a2
79 files changed
+7495
-1104
No files matched your search
@@ -19,8 +19,9 @@ export default defineConfig({
|
||||
proxy: {
|
||||
// H5 开发:api/config.js 默认 baseURL 为 /proxy-api,转发到 Go 后端
|
||||
'/proxy-api': {
|
||||
// target: 'http://127.0.0.1:9000',
|
||||
target: 'https://api.yunzer.cn',
|
||||
// 本地联调统一认证(/app/home 等新接口生产未部署时用本地)
|
||||
target: 'http://127.0.0.1:9000',
|
||||
// target: 'https://api.yunzer.cn',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/proxy-api/, ''),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user