This commit is contained in:
fz
2023-09-07 22:07:44 +08:00
parent 6c05edd4b6
commit cacd19d196
3 changed files with 383 additions and 10 deletions
+3 -1
View File
@@ -34,8 +34,10 @@ module.exports = {
open: true,
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
// http://121.40.189.20:9001/
// http://192.168.3.77:8080
[process.env.VUE_APP_BASE_API]: {
target: `http://192.168.3.77:8080`,
target: `http://121.40.189.20:9001`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''