mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:57:08 +00:00
Rename websocket /ws → /dougal-websocket.
The Webpack dev server seems to really like /ws and ignores any attempts to set a different path, so we just rename our websocket instead.
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = {
|
||||
"^/api(/|$)": {
|
||||
target: "http://127.0.0.1:3000",
|
||||
},
|
||||
"^/ws(/|$)": {
|
||||
"^/dougal-websocket(/|$)": {
|
||||
target: "ws://127.0.0.1:3000",
|
||||
ws: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user