链接更换
This commit is contained in:
parent
c1cb2c6e34
commit
37856a5ae1
|
@ -20,7 +20,8 @@ export default defineConfig({
|
|||
// rewrite: (path) => path.replace(/\/test/, ""), //重写真实路径,替换/api
|
||||
},
|
||||
"^/test": {
|
||||
target: "http://192.168.2.86:8003/",
|
||||
// target: "http://192.168.2.86:8003/",
|
||||
target: "https://yx.cityme.com.cn/",
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/test/, '/test/main_serve/')
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue