This commit is contained in:
taskylizard 2023-11-04 23:48:07 +05:30
parent bf41c9ab86
commit 46ab0a1e98
No known key found for this signature in database
GPG Key ID: 5CABA3D642DDC497

View File

@ -1,3 +1,9 @@
export default defineEventHandler(async (event) => {
return sendNoContent(event, 200);
return new Response("", {
status: 200,
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "POST,PATCH,OPTIONS",
},
});
});