Commit c2a81df4 authored by huangyecong's avatar huangyecong

环境配置

parent 51b05dac
...@@ -22,12 +22,12 @@ module.exports = { ...@@ -22,12 +22,12 @@ module.exports = {
devServer: { devServer: {
proxy: { proxy: {
"^/api": { "^/api": {
target: "http://lnh.run4wd.com/", //测试 target: "http://lnh.run4wd.com", //测试
// target: "http://lnh.ssish.com/api/",//生产,需api // target: "http://lnh.ssish.com/api/",//生产,需api
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { 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