You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/Methods/middleware.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ name | call time
14
14
`pre:logger` |
15
15
`pre:bodyparser` |
16
16
`pre:session` |
17
-
`pre:admin` | Installs Express middleware which is called before each Keystone admin UI route is executed. (i.e. routes starting with `/keystone`)
17
+
`pre:admin` | Installs Express middleware which is called before a Keystone admin UI route is executed. (i.e. routes starting with `/keystone`)
18
+
`pre:adminroutes` | Installs Express middleware which is called before the route handlers in the admin UI are executed (i.e. after the admin UI-specific middleware is configured but before routes are matched)
18
19
`pre:routes` | Installs Express middleware which is called before each developer defined route is executed. (i.e. the routes you define besides the `/keystone` generated ones)
19
20
`pre:render` | Called before a Keystone [view](/api/view) is rendered.
0 commit comments