|
|
@ -35,7 +35,9 @@ module.exports = {
|
|
|
|
proxy: {
|
|
|
|
proxy: {
|
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
|
target: `http://localhost:8080`,
|
|
|
|
// target: `http://192.168.3.93:8080`,
|
|
|
|
|
|
|
|
target: `http://192.168.3.158:8080`,
|
|
|
|
|
|
|
|
// target: `http://192.168.202.34:30000`,
|
|
|
|
changeOrigin: true,
|
|
|
|
changeOrigin: true,
|
|
|
|
pathRewrite: {
|
|
|
|
pathRewrite: {
|
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
|