[F] Fix overlapping filter

pull/14/head
Azalea 2024-02-26 00:29:15 -05:00
parent cd62f31c17
commit c9ffd3cd11
1 changed files with 1 additions and 1 deletions

View File

@ -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"))
} }