We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cfe32e commit bd658edCopy full SHA for bd658ed
templates/app/webpack.make.js
@@ -350,9 +350,19 @@ module.exports = function makeWebpackConfig(options) {
350
contentBase: './client/',
351
hot: true,
352
proxy: {
353
- '/api': 'http://localhost:<%= devPort %>',
354
- '/auth': 'http://localhost:<%= devPort %>',
355
- '/socket.io': 'http://localhost:<%= devPort %>',
+ '/api': {
+ target: 'http://localhost:<%= devPort %>',
+ secure: false,
356
+ },
357
+ '/auth': {
358
359
360
+ },<% if(filters.ws) { %>
361
+ '/primus': {
362
363
364
+ ws: true,
365
+ },<% } %>
366
},
367
stats: {
368
modules: false,
0 commit comments