From 0d29d9a2bf0d893a67f1263bb9525131a50a2128 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sat, 23 Mar 2024 11:12:55 +0800
Subject: [PATCH] 首次提交大宝wap
---
config/index.js | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/config/index.js b/config/index.js
index bce576f..ee283dc 100644
--- a/config/index.js
+++ b/config/index.js
@@ -11,20 +11,37 @@
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
+ // '/api': {
+ // target:'http://43.198.126.79:8091/',
+ // secure: false,
+ // changeOrigin: true,
+ // pathRewrite: {
+ // '^/api': '/'
+ // }
+ // },
'/': {
// target: 'https://pc.zsycyy.com',
// target: 'http://www.shehua56.com',
- target:'https://api.mitrade.cc/',
+ target:'http://121.43.237.202:8091/',
+ // target:'https://api.guosen.org/',
secure: false,
changeOrigin: true,
pathRewrite: {
'^/': '/'
}
+ },
+ '/dk': {
+ target: 'http://121.43.237.202:8091/',
+ secure: false,
+ changeOrigin: true,
+ pathRewrite: {
+ '^/dk': '/dk'
+ }
}
},
// Various Dev Server settings
- host: '0.0.0.0', // can be overwritten by process.env.HOST
+ host: '127.0.0.1', // can be overwritten by process.env.HOST
port: 80, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
--
Gitblit v1.9.3