We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bdd83c commit 16d6486Copy full SHA for 16d6486
src/server.ts
@@ -43,6 +43,9 @@ function handleJsonp(req: Request, data: object): Response {
43
return new Response(str, {
44
headers: {
45
"content-type": "application/json",
46
+ "Access-Control-Allow-Origin": "*",
47
+ "Access-Control-Allow-Methods": "GET",
48
+ "Access-Control-Max-Age": "604800",
49
},
50
});
51
}
0 commit comments