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
Static files are served before the filters so currently there's no way of doing this (if using the static files functionality provided by the framework)
It seems that static content
staticFiles.location("/public")
will not be matched by filters:
before("/*") { req, res -> .... }
I need to do authentication/authorization in a filter.
Is the pattern wrong?
How can I achieve this?
(using spark 2.6.0)
The text was updated successfully, but these errors were encountered: