Skip to content

Commit c866156

Browse files
committed
docs: remove unimplemented backend CORS env vars
1 parent 30fe7ac commit c866156

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

docs/ENVIRONMENT_VARIABLES.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ These are only accessible on the server:
4545
- `STACK_SECRET_SERVER_KEY` - Stack Auth secret key (**NEVER expose to client**)
4646
- `JWT_SECRET` - Secret for signing JWT tokens (required; API/server will fail fast if missing)
4747
- `JWT_EXPIRES_IN_SECONDS` - Optional; JWT lifetime in seconds (default 86400 / 24h)
48-
- `ALLOWED_ORIGINS` - Comma-separated allowlist for CORS (e.g. `https://your-app.vercel.app,http://localhost:5173`)
49-
- `CORS_ALLOW_CREDENTIALS` - Set to `true` only if you need to send cookies with cross-origin requests
5048
- `DATABASE_URL` - PostgreSQL connection string
5149
- All `POSTGRES_*` and `PG*` variables from Neon
5250
- `GEMINI_API_KEY` - **MUST be server-side only** (no `VITE_` prefix); Gemini API key for AI features (e.g., spreadsheet parsing). **NEVER expose to client code**. All Gemini API calls must be routed through server endpoints (e.g., `/api/parse-spreadsheet`) - the browser should never have direct access to this key.

0 commit comments

Comments
 (0)