Skip to content

Commit

Permalink
Merge pull request #5329 from jhcao23/master
Browse files Browse the repository at this point in the history
to avoid conflict of grabbing websocket port
  • Loading branch information
jdubois committed Mar 1, 2017
2 parents b62c112 + f2cac55 commit 11d2adb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion generators/client/templates/angular/webpack/_webpack.dev.js
Expand Up @@ -56,7 +56,10 @@ module.exports = webpackMerge(commonConfig({ env: ENV }), {
new BrowserSyncPlugin({
host: 'localhost',
port: 9000,
proxy: 'http://localhost:9060'
proxy: {
target: 'http://localhost:9060'<% if (websocket === 'spring-websocket') { %>,
ws: true<% } %>
}
}, {
reload: false
}),
Expand Down

0 comments on commit 11d2adb

Please sign in to comment.