[Feature Request] Opt out of global middleware #4596
Replies: 2 comments 3 replies
-
|
so you would like to skip a single one but not all of the global ones? |
Beta Was this translation helpful? Give feedback.
-
|
Yeah I feel like this is an important missing piece. I'd like to set a global authentication middleware... but my sign in routes obviously shouldn't run the authentication middleware. The only hack I can think of is to hijack |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a server function that shouldn't run one of the global middlewares I've registered.
It would be great to have the option to opt out of that middleware.
Beta Was this translation helpful? Give feedback.
All reactions