diff --git a/src/webapp.ts b/src/webapp.ts index 7b0a1dd..20a2a44 100644 --- a/src/webapp.ts +++ b/src/webapp.ts @@ -17,7 +17,7 @@ export async function serveApp(c: Context, subdomain: string): Promise if (app instanceof Hono) return app.fetch(c.req.raw) else - return toResponse(app(c)) + return toResponse(await app(c)) } export function apps(): string[] {