Only include /ws/events as a proxied websocket, without messing with the /ws route exposed by the Vue debugger

This commit is contained in:
Fabio Manganiello 2023-05-07 12:22:51 +02:00
parent 059fff8558
commit bdbbd24e6f
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -18,7 +18,7 @@ module.exports = {
target: 'http://localhost:8008', target: 'http://localhost:8008',
changeOrigin: true changeOrigin: true
}, },
'/ws/*': { '/ws/events': {
target: 'http://localhost:8008', target: 'http://localhost:8008',
ws: true, ws: true,
changeOrigin: true changeOrigin: true