Commit c2a81df4 authored by huangyecong's avatar huangyecong

环境配置

parent 51b05dac
......@@ -22,12 +22,12 @@ module.exports = {
devServer: {
proxy: {
"^/api": {
target: "http://lnh.run4wd.com/", //测试
target: "http://lnh.run4wd.com", //测试
// target: "http://lnh.ssish.com/api/",//生产,需api
ws: true,
changeOrigin: true,
pathRewrite: {
"^/api": "/", // rewrite path
"^/api": "", // rewrite path
},
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment