Skip to content

Commit

Permalink
feat: HEAD use get as according to hono
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorikairox authored Feb 16, 2024
1 parent fcd8ab1 commit 2196607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class DanetRouter {
['POST', this.router.post],
['PUT', this.router.put],
['OPTIONS', this.router.options],
['HEAD', this.router.head],
['HEAD', this.router.get],
['ALL', this.router.all],
]);
this.middlewareExecutor = new MiddlewareExecutor(
Expand Down

0 comments on commit 2196607

Please sign in to comment.