Browse Source

url调整

old
jiangyy 4 years ago
parent
commit
806c870591
  1. 20
      vue.config.js

20
vue.config.js

@ -15,16 +15,16 @@ module.exports = {
open: true, open: true,
port: 8888, port: 8888,
// 开发环境默认开启反向代理,如果不需要请自行注释 // 开发环境默认开启反向代理,如果不需要请自行注释
proxy: { // proxy: {
'/tduck-api': { // '/tduck-api': {
//target: 'http://localhost:8080/api/', // //target: 'http://localhost:8080/api/',
//target: 'http://localhost:8116', // //target: 'http://localhost:8116',
// target: 'http://192.168.1.142:8116', // // target: 'http://192.168.1.142:8116',
target: 'http://192.168.1.140/api', // target: 'http://192.168.1.140/api',
//target: 'http://epmet-dev.elinkservice.cn:40002', // //target: 'http://epmet-dev.elinkservice.cn:40002',
changeOrigin: true // changeOrigin: true
} // }
} // }
}, },
configureWebpack: { configureWebpack: {
// provide the app's title in webpack's name field, so that // provide the app's title in webpack's name field, so that

Loading…
Cancel
Save