Commit d1a362a
committed
Reduce CORS preflight cache time from 24h to 5min
Changed Access-Control-Max-Age from 86400s (24 hours) to 300s (5 minutes).
This allows faster recovery when CORS issues occur with preview deployments,
while still providing caching benefits to reduce OPTIONS requests.
Fixes issue where preview deployments couldn't access the worker proxy
unless in a private session due to cached CORS failures.1 parent b41defc commit d1a362a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments