diff --git a/.gitignore b/.gitignore index 56005a7..1b490e5 100644 --- a/.gitignore +++ b/.gitignore @@ -26,4 +26,5 @@ data/* *.env static/* tsconfig.app.tsbuildinfo -tsconfig.node.tsbuildinfo \ No newline at end of file +tsconfig.node.tsbuildinfo +data/* diff --git a/vite.config.ts b/vite.config.ts index 73fb753..93fe4b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,8 +12,9 @@ export default defineConfig({ server: { proxy: { "/socket.io": { - target: "http://localhost:5000", + target: "http://localhost:8080", ws: true, + changeOrigin: true, }, "/api": { target: "http://localhost:5000",