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

Loading…
Cancel
Save