Skip to content

Commit

Permalink
Merge pull request #682 from mykter/use-server-url
Browse files Browse the repository at this point in the history
Use VUE_APP_SERVER_URL
  • Loading branch information
nscuro authored Dec 20, 2023
2 parents cf09e79 + 1438143 commit 613bbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
// Relative paths cannot be supported. Research by @nscur0 - https://owasp.slack.com/archives/CTC03GX9S/p1608400149085400
publicPath: "/",
devServer: {
proxy: { "/api": { target: "http://localhost:8080" } }
proxy: { "/api": { target: process.env.VUE_APP_SERVER_URL} }
},
configureWebpack: {
plugins: [
Expand Down

0 comments on commit 613bbba

Please sign in to comment.