Files
shayandClaude Opus 4.7 f9caa61c77 fix(frontend): send cookies on /generate POST
Without credentials: 'include', the session cookie isn't attached and
the OAuth-guarded endpoint returns 401.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-19 20:10:14 -04:00
..

Frontend (Vite + React)

Part of the generator service. Sources live here; the production build is served as static files by the generator's Flask app (at /) and produced by the generator's Dockerfile.

Dev

npm install
VITE_GENERATOR_URL=http://localhost:5002 VITE_EDGE_URL=http://localhost:5003 npm run dev

Vite proxies /api/* to the Flask app at :5002.

Build

npm run build
# produces dist/ which is copied into generator/src/static/ by the Docker build