mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 01:31:41 +11:00
c
This commit is contained in:
parent
bf41c9ab86
commit
46ab0a1e98
1 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
export default defineEventHandler(async (event) => {
|
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",
|
||||||
|
},
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue