π Bug Fixes:
- Fixed CORS plugin registration to include proper options
- Fixed OPTIONS (preflight) requests handling
- Fixed CORS headers configuration when cors: true
β¨ New Features:
- Enhanced CORS: cors now accepts boolean | CorsOptions
- Default CORS options with OPTIONS method included
- Full CORS configuration support
π§ͺ Testing:
- 4 new tests for CORS configuration
β
Benefits:
- Fixed bug with OPTIONS preflight requests
- Better Developer Experience
- More flexible CORS configuration
- Backward compatible