mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
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>
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