feat(redis): implement Redis integration for game state management and websocket communication

This commit is contained in:
2026-04-26 00:13:35 +02:00
parent ec09a1bdb9
commit 83f84371be
48 changed files with 1475 additions and 427 deletions
@@ -30,8 +30,10 @@ class AlreadyLoggedInFilter extends ContainerRequestFilter:
)
private def isAuthenticated: Boolean =
// scalafix:off DisableSyntax.null
try jwt.getName != null
catch case _ => false
// scalafix:on DisableSyntax.null
private def isProtectedEndpoint(path: String, method: String): Boolean =
(path.contains("/api/account") || path.contains("/account")) &&