Skip to content

Commit

Permalink
Update vue.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jamebal committed Jun 26, 2023
1 parent 4d80fa6 commit 5e7c2f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
API=http://localhost:8088
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
},
proxy: {
[process.env.VUE_APP_BASE_API]: {
target: 'http://localhost:8088',
target: process.env.API,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
Expand Down

0 comments on commit 5e7c2f9

Please sign in to comment.