diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-27 22:18:46 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-27 22:18:46 +0100 |
commit | 5ca8dd4c842ee681ce81a6a7bbd5005cd5b98d3c (patch) | |
tree | 1273b264a806a7e1867a6a235998a9f4daaef0ed /web/pw-frontend | |
parent | 109e06ecad14dc73a8910c859f85a46ae6b61c59 (diff) | |
download | planetwars.dev-5ca8dd4c842ee681ce81a6a7bbd5005cd5b98d3c.tar.xz planetwars.dev-5ca8dd4c842ee681ce81a6a7bbd5005cd5b98d3c.zip |
add websocket stub
Diffstat (limited to 'web/pw-frontend')
-rw-r--r-- | web/pw-frontend/vite.config.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/pw-frontend/vite.config.js b/web/pw-frontend/vite.config.js index a298f2c..a7fcc74 100644 --- a/web/pw-frontend/vite.config.js +++ b/web/pw-frontend/vite.config.js @@ -20,6 +20,7 @@ export default defineConfig({ server: { proxy: { "/api/": "http://localhost:5000", + "/ws": "ws://localhost:5000/ws", }, }, }) |