Allow PUT and PATCH through CORS proxy

This commit is contained in:
Alex Gleason committed 2025-12-03 21:58:02 -06:00
1 parent f41d70442a
commit ed7f60692d
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ export default {
const response = new Response(targetResponse.body, targetResponse);
response.headers.set("Access-Control-Allow-Origin", "*");
response.headers.set("Access-Control-Allow-Methods", "GET,HEAD,POST,OPTIONS");
response.headers.set("Access-Control-Allow-Methods", "GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS");
response.headers.set("Access-Control-Allow-Headers", "*");
return response;