Add the missing headers to the OPTIONS response

This commit is contained in:
Alex Gleason committed 2025-12-03 22:05:05 -06:00
1 parent ed7f60692d
commit 6ce25ad2a1
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ export default {
status: 200,
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET,HEAD,POST,OPTIONS",
"Access-Control-Allow-Methods": "GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS",
"Access-Control-Allow-Headers": "*", // Or specify specific headers
"Access-Control-Max-Age": "86400", // Cache preflight for 24 hours
}