Helper function to add CORS headers to any response
The response to add CORS headers to
A new response with CORS headers added
const response = new Response('Hello');const corsResponse = addCorsHeaders(response); Copy
const response = new Response('Hello');const corsResponse = addCorsHeaders(response);
Helper function to add CORS headers to any response