forked from Cookies_Github_mirror/AquaDX
[F] Fix overlapping filter
This commit is contained in:
@@ -58,5 +58,5 @@ class CompressionFilter : OncePerRequestFilter() {
|
|||||||
* Filter games that are not diva
|
* Filter games that are not diva
|
||||||
*/
|
*/
|
||||||
override fun shouldNotFilter(req: HttpServletRequest) =
|
override fun shouldNotFilter(req: HttpServletRequest) =
|
||||||
!(req.servletPath.startsWith("/g") && !req.servletPath.startsWith("/g/diva"))
|
!(req.servletPath.startsWith("/g/") && !req.servletPath.startsWith("/g/diva"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user