修改无锡测试bug
This commit is contained in:
@@ -41,6 +41,7 @@ export default ({ command, mode }) => {
|
||||
base: "./",
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
allowedHosts: true,
|
||||
port: 4000, // 设置服务启动端口号
|
||||
// port: Number(loadEnv(mode, process.cwd()).VITE_APP_PORT),
|
||||
|
||||
@@ -53,11 +54,10 @@ export default ({ command, mode }) => {
|
||||
proxy: {
|
||||
"/api": {
|
||||
// target: "http://192.168.1.63/api/",
|
||||
// target: "http://192.168.1.133:4000/api/",
|
||||
//target: "http://192.168.1.62:10215",
|
||||
target: 'http://192.168.1.127:18093', //cdf
|
||||
// target: 'http://192.168.1.63/api', //cdf
|
||||
// target: 'http://192.168.1.130:18093', //cdf
|
||||
// target: "http://192.168.1.133:18093",
|
||||
//target: "http://192.168.1.62:10215",
|
||||
// target: 'http://192.168.1.127:18093', //cdf
|
||||
target: "http://192.168.1.103:19001", //cdf
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/api/, ""),
|
||||
|
||||
Reference in New Issue
Block a user