We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be nice if one could optionally mount middleware, based on system values.
(context "/api" [] :middleware [(if-not (env/dev-mode? env) wrap-anti-forgery)] ...)
Currently the :middleware breaks on nils.
:middleware
The text was updated successfully, but these errors were encountered:
bfdeeac
Strip nils from :middleware. Fixes #228
6f0d7ac
Successfully merging a pull request may close this issue.
Would be nice if one could optionally mount middleware, based on system values.
Currently the
:middleware
breaks on nils.The text was updated successfully, but these errors were encountered: