diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index ef28e10..87b9ac5 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -14,6 +14,9 @@ export default defineConfig({ }, server: { port: 5173, + // Listen on all interfaces so the dev server is reachable from the LAN + // (e.g. http://192.168.1.88:5173), not just from localhost. + host: true, // The SPA calls the same-origin '/api' prefix. In development Vite // forwards those requests to the FastAPI process, so the browser stays on // one origin and no CORS configuration is needed.