Skip to content

Commit

Permalink
fix: proxy target 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sjiwon committed May 30, 2023
1 parent 8ca9b90 commit 930b50a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/vue.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { defineConfig } = require('@vue/cli-service')
const path = require('path')

module.exports = defineConfig({
transpileDependencies: true,
Expand All @@ -8,7 +7,7 @@ module.exports = defineConfig({
devServer: {
proxy: {
'/api': {
target: 'http://localhost:7777',
target: process.env.VUE_APP_API_URL,
changeOrigin: true
}
}
Expand Down

0 comments on commit 930b50a

Please sign in to comment.