feat(frontend): Refactor to cookie-based auth and add /api/v1 prefix

This commit is contained in:
Yunxiao Xu
2026-02-11 22:06:14 -08:00
parent 42f982e373
commit 7fe020f26c
8 changed files with 153 additions and 49 deletions

View File

@@ -11,6 +11,18 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
"/auth": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/chat": {
target: "http://localhost:8000",
changeOrigin: true,
},
},
},
test: {
globals: true,
environment: "jsdom",