Skip to content

Commit b93aee0

Browse files
Update Introduction.md
1 parent 51afde5 commit b93aee0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Introduction.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,6 @@ http.createServer(app.handler()).listen(3000);
7070

7171
Routejs is a fast http routing engine for nodejs. Routejs is highly depends on the middlewares, in routejs everything is a middleware.
7272

73-
In routejs all middlewares are executed one after another from top to bottom, so make sure to register routes and middlewares in the right order.
73+
In routejs all middlewares are executed one after another in top to bottom order, so make sure to register routes and middlewares in the right order.
74+
75+
It is advisable to register all the global middlewares at the first and register error-handler middleware at the last.

0 commit comments

Comments
 (0)