Skip to content

Commit

Permalink
[#187] feat - vue.config.js 수정
Browse files Browse the repository at this point in the history
- socket devServer 세팅 추가
  • Loading branch information
hschoi1104 committed May 4, 2021
1 parent 2836cac commit 5591d00
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions frontend/vue.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
module.exports = {
transpileDependencies: ['vuetify'],

publicPath: '/',

outputDir: '../backend/public/',

devServer: {
proxy: {
'/api': {
target: 'http://localhost:5000',

changeOrigin: true,
},

'/socket.io': {
target: 'http://localhost:5050',

changeOrigin: true,
},
},
Expand Down

0 comments on commit 5591d00

Please sign in to comment.