Replace polling with websocket live sync

This commit is contained in:
2026-04-02 02:31:59 +03:00
parent 9a3785deb9
commit c04847b21c
15 changed files with 596 additions and 28 deletions

View File

@@ -9,6 +9,11 @@ export default defineConfig({
target: process.env.VITE_API_PROXY_TARGET ?? 'http://127.0.0.1:3000',
changeOrigin: true,
},
'/ws': {
target: process.env.VITE_API_PROXY_TARGET ?? 'http://127.0.0.1:3000',
changeOrigin: true,
ws: true,
},
},
},
test: {