10 lines
232 B
TypeScript
10 lines
232 B
TypeScript
export default defineEventHandler(async (event) => {
|
|
return new Response("", {
|
|
status: 200,
|
|
headers: {
|
|
"Access-Control-Allow-Origin": "*",
|
|
"Access-Control-Allow-Methods": "POST,PATCH,OPTIONS",
|
|
},
|
|
});
|
|
});
|