Browse Source

chore: updates README.md

e22m4u 1 year ago
parent
commit
514ed47c07
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -170,7 +170,7 @@ A `Router` instance allows you to set following global hooks:
 - `postHandler` is executed after each route handler.
 - `postHandler` is executed after each route handler.
 
 
 The `addHook` method of a `Router` instance accepts a hook name as the first
 The `addHook` method of a `Router` instance accepts a hook name as the first
-parameter and the hook function as the second.
+parameter and a hook function as the second.
 
 
 ```js
 ```js
 router.addHook('preHandler', (ctx) => {
 router.addHook('preHandler', (ctx) => {