0.3.7 • Published 1 year ago
itty-cors v0.3.7
Deprecation Notice
itty-cors
has been fully deprecated in favor of itty-router/cors
.
This complete rewrite brings the following: 1. full support for industry-standard options (matches express.js) 2. far more control of matching/reflecting origins 3. true wildcard support 4. fixes a nasty race condition that could appear under heavy multi-user load 5. 20% smaller (we somehow shed over 100 bytes) 6. 100% test coverage, like anything in itty-router core
itty-router v5.x CORS Guide
https://itty.dev/itty-router/cors