always awaiting
This commit is contained in:
parent
45286920de
commit
dcc9685b32
|
|
@ -17,7 +17,7 @@ export async function serveApp(c: Context, subdomain: string): Promise<Response>
|
|||
if (app instanceof Hono)
|
||||
return app.fetch(c.req.raw)
|
||||
else
|
||||
return toResponse(app(c))
|
||||
return toResponse(await app(c))
|
||||
}
|
||||
|
||||
export function apps(): string[] {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user