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 2c3426c commit b15477eCopy full SHA for b15477e
templates/http-js/content/src/index.js
@@ -10,6 +10,6 @@ router
10
.get("/", () => new Response("hello universe"))
11
.get('/hello/:name', ({ name }) => `Hello, ${name}!`)
12
13
-addEventListener('fetch', async (event) => {
+addEventListener('fetch', (event) => {
14
event.respondWith(router.fetch(event.request));
15
});
templates/http-ts/content/src/index.ts
@@ -11,6 +11,6 @@ router
//@ts-ignore
-addEventListener('fetch', async (event: FetchEvent) => {
+addEventListener('fetch', (event: FetchEvent) => {
16
0 commit comments