Replies: 1 comment
-
I guess hooks run before middleware. Here is the hook handling section in h3: https://github.com/unjs/h3/blob/8345c1f493abc284e6272621929ecb6385f3e4f2/src/app.ts#L126-L129 Middleware is handled in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I just wonder when this happens
nitroApp.hooks.hook("request", (event) => {});
Before middleware or after when a request hits an endpoint?
Beta Was this translation helpful? Give feedback.
All reactions