We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbad3ab commit 8096d77Copy full SHA for 8096d77
src/plugins/cors-plugin.ts
@@ -7,7 +7,7 @@ export const corsPlugin = createApp()
7
set.headers["Access-Control-Allow-Headers"] = "*";
8
if (method === "OPTIONS") {
9
set.status = 204;
10
- return new Response(undefined, set);
+ return new Response("", set);
11
}
12
})
13
.export();
0 commit comments