Skip to content

Commit

Permalink
Add PATCH and HEAD to app.all()
Browse files Browse the repository at this point in the history
  • Loading branch information
rikilele committed Jul 23, 2021
1 parent 931c2f3 commit 75019d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Kyuko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ export class Kyuko {
this.#customHandlers.get("POST")?.set(routePath, handler);
this.#customHandlers.get("PUT")?.set(routePath, handler);
this.#customHandlers.get("DELETE")?.set(routePath, handler);
this.#customHandlers.get("PATCH")?.set(routePath, handler);
this.#customHandlers.get("HEAD")?.set(routePath, handler);
}

/**
Expand Down

0 comments on commit 75019d4

Please sign in to comment.