Commit 120a3f2
fix: add Cache-Control: no-store to 401 session responses in index.ts
The session-unauth path in index.ts used Response.json with only CORS_HEADERS,
bypassing the jsonResponse helper in handlers/keys.ts. Cache-Control was therefore
missing on 401 responses. Add it explicitly on the fallthrough path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 373e86f commit 120a3f2
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
220 | 226 | | |
221 | 227 | | |
222 | 228 | | |
| |||
0 commit comments