diff --git a/modules/relay/src/main/RelayRoundForm.scala b/modules/relay/src/main/RelayRoundForm.scala index 3d48a6b06fd7d..0f7daf7a60b0e 100644 --- a/modules/relay/src/main/RelayRoundForm.scala +++ b/modules/relay/src/main/RelayRoundForm.scala @@ -157,7 +157,8 @@ object RelayRoundForm: host <- Option(url.host).map(_.toHostString) // prevent common mistakes (not for security) if mode.notProd || !blocklist.exists(subdomain(host, _)) - if !subdomain(host, "chess.com") || url.toString.startsWith("https://api.chess.com/pub") + if !subdomain(host, "chess.com") || url.toString.startsWith("https://api.chess.com/pub") || url.toString + .startsWith("https://www.chess.com/events/v1/api") yield url private def validateUpstreamUrl(s: String)(using Me, Mode): Either[String, URL] = for