Rthur2003 commited on
Commit
dfd803e
·
1 Parent(s): f89ed85

fix: update CORS origins and API key requirements in README for production guidelines

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -135,7 +135,7 @@ Response:
135
 
136
  | Variable | Default | Description |
137
  |----------|---------|-------------|
138
- | `CROWNCODE_CORS_ORIGINS` | `*` | Allowed CORS origins |
139
  | `MUSIC_AI_API_URL` | - | Music-AIDetector service URL |
140
  | `SES_ANALIZI_API_URL` | - | Ses-Analizi service URL |
141
  | `CROWNCODE_API_TIMEOUT_SEC` | `30` | External service timeout |
@@ -144,7 +144,8 @@ Response:
144
  | `COMMEND_GEMINI_API_KEY` | - | Gemini API key for Crown Commend (also used as YouTube API Key fallback) |
145
  | `COMMEND_YOUTUBE_API_KEY` | - | YouTube Data API key for read operations (optional if Gemini key is set) |
146
  | `COMMEND_TOKEN_JSON` | - | YouTube OAuth token JSON for posting comments (optional) |
147
- | `COMMEND_API_KEY` | - | API key for commend endpoint auth (optional, disables auth if unset) |
 
148
  | `COMMEND_ENABLE_POSTING` | `false` | Enable YouTube comment posting (`true`/`false`) |
149
 
150
  ---
 
135
 
136
  | Variable | Default | Description |
137
  |----------|---------|-------------|
138
+ | `CROWNCODE_CORS_ORIGINS` | `http://localhost:3000` | Allowed CORS origins (comma-separated). **Do not use `*` in production.** |
139
  | `MUSIC_AI_API_URL` | - | Music-AIDetector service URL |
140
  | `SES_ANALIZI_API_URL` | - | Ses-Analizi service URL |
141
  | `CROWNCODE_API_TIMEOUT_SEC` | `30` | External service timeout |
 
144
  | `COMMEND_GEMINI_API_KEY` | - | Gemini API key for Crown Commend (also used as YouTube API Key fallback) |
145
  | `COMMEND_YOUTUBE_API_KEY` | - | YouTube Data API key for read operations (optional if Gemini key is set) |
146
  | `COMMEND_TOKEN_JSON` | - | YouTube OAuth token JSON for posting comments (optional) |
147
+ | `COMMEND_API_KEY` | - | API key for commend endpoint auth (**required in production**) |
148
+ | `COMMEND_REQUIRE_AUTH` | `true` | Fail-closed auth gate. Set to `false` only for local development. |
149
  | `COMMEND_ENABLE_POSTING` | `false` | Enable YouTube comment posting (`true`/`false`) |
150
 
151
  ---