Proxy websockets connection within webpack-dev-server -


is possible proxy websocket connections within webpack dev server? know how proxy regular http requests backend it's not working websockets, presumably because target in proxy configuration starts http://...

version 1.15.0 of webpack-dev-server supports proxying websocket connections. add following configuration:

devserver: {   proxy: {     '/api': {        target: 'ws://[address]:[port]',        ws: true     },   }, } 

Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -