Skip to content

Instantly share code, notes, and snippets.

@seogi1004
Last active November 25, 2018 14:16
Show Gist options
  • Save seogi1004/caefaa5e5b7091fe30e927caa675b49c to your computer and use it in GitHub Desktop.
Save seogi1004/caefaa5e5b7091fe30e927caa675b49c to your computer and use it in GitHub Desktop.
...
return {
...
devServer: {
host: '127.0.0.1',
port: 8081,
progress: true,
inline: true,
hot: false,
proxy: [{
context: [ '**', '!/ws/**' ],
target: 'http://127.0.0.1:8080'
}, {
context: [ '/ws/**' ],
target: 'ws://127.0.0.1:8080',
ws: true
}]
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment