kwhitley / itty-router

A little router.
MIT License
1.79k stars 78 forks source link

fix #233 - cors eats status message #234

Closed kwhitley closed 7 months ago

kwhitley commented 7 months ago

Description

corsify was not transferring the status of Responses to the final CORS version.

Related Issue

233

Solution

Instead of recreating the response, we'll simply append CORS headers.

Type of Change (select one and follow subtasks)