Skip to content

Commit

Permalink
fix: Actually return hono instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehesp committed Dec 16, 2024
1 parent 589eec8 commit efa85a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class Handler {

app.all("/api/*", async (c) => handleApiRequest(c.req.raw));

return createResponse(undefined, "Unknown operation", 400);
return app.fetch(request);
}

async queryRoute(request: Request, isRaw: boolean): Promise<Response> {
Expand Down

0 comments on commit efa85a3

Please sign in to comment.