|
|
@@ -33,6 +33,13 @@ module.exports = {
|
|
|
port: port,
|
|
|
open: true,
|
|
|
proxy: {
|
|
|
+ '/profile/upload': {
|
|
|
+ target: process.env.VUE_APP_BASE_API,
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite:{
|
|
|
+ ['^/profile/upload']: '/profile/upload',
|
|
|
+ }
|
|
|
+ },
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
target: `http://192.168.0.36:8080`,
|
|
|
@@ -41,7 +48,7 @@ module.exports = {
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
disableHostCheck: true
|
|
|
},
|