summaryrefslogtreecommitdiff
path: root/web/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/vite.config.ts')
-rw-r--r--web/vite.config.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/vite.config.ts b/web/vite.config.ts
index 772ea4c..87e256f 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -25,6 +25,9 @@ export default defineConfig({
// production (where the Dart server serves the built app too).
'/data': 'http://localhost:4567',
'/images': 'http://localhost:4567',
+ // The session endpoint mints/returns the `x-haven-session` cookie
+ // that the `/ws` upgrade relies on (seat persistence).
+ '/session': 'http://localhost:4567',
},
},
test: {