|
@@ -15,13 +15,13 @@ module.exports = {
|
|
|
},
|
|
|
devServer: {
|
|
|
disableHostCheck: true,
|
|
|
- proxy: {
|
|
|
- '^/': { //这里最好有一个 /
|
|
|
- target: 'http://115.238.57.190:8010', // 服务器端接口地址
|
|
|
- ws: true, //如果要代理 websockets,配置这个参数
|
|
|
- // 如果是https接口,需要配置这个参数
|
|
|
- changeOrigin: true, //是否跨域
|
|
|
- }
|
|
|
- }
|
|
|
+ // proxy: {
|
|
|
+ // '^/': { //这里最好有一个 /
|
|
|
+ // target: 'http://115.238.57.190:8010', // 服务器端接口地址
|
|
|
+ // ws: true, //如果要代理 websockets,配置这个参数
|
|
|
+ // // 如果是https接口,需要配置这个参数
|
|
|
+ // changeOrigin: true, //是否跨域
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|