Call Middleware dynamically
I know how middlewares work by setting them in the
definePageMeta
. However is it possible to call a middleware file check based on a javascript event changing?
For example a project environment within a user has changed from project A to project B. Is it possible that in the change there via JavaScript, that I can then call the middleware file so that it does it's checks?0 Replies