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:
D. Berge
2023-11-02 11:39:49 +01:00
parent 7dee457fa1
commit 4a8d3a99c1
3 changed files with 4 additions and 4 deletions

View File

@@ -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
}