Spaces:
Paused

icebear0828 Claude Opus 4.6 commited on
Commit
a971da6
·
1 Parent(s): 365b839

fix: prevent .env inline comments from being parsed as JWT tokens

Browse files

Docker Compose env_file doesn't strip inline comments, so
"CODEX_JWT_TOKEN= # comment" was treated as a real token, creating
ghost accounts on every restart.

- Move .env.example comments to separate lines
- Validate JWT format in config.ts (must start with "eyJ")

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

2 files changed +18 -5
Files changed (2)
.env.example+13-3
src/config.ts+5-2