diff --git a/balancer/routes/staticFiles.go b/balancer/routes/staticFiles.go index 5974977fe..1e7aba6a5 100644 --- a/balancer/routes/staticFiles.go +++ b/balancer/routes/staticFiles.go @@ -12,7 +12,7 @@ func handleStaticFiles(bundle *bundle.Bundle) http.Handler { frontendRoutePatterns := []*regexp.Regexp{ regexp.MustCompile("/balancer/admin"), regexp.MustCompile("/balancer/teams/" + teamNamePatternString + "/status"), - regexp.MustCompile("/balancer/teams/" + teamNamePatternString + "/joined"), + regexp.MustCompile("/balancer/teams/" + teamNamePatternString + "/joining"), regexp.MustCompile("/balancer/score-overview"), regexp.MustCompile("/balancer/score-overview/teams/" + teamNamePatternString + "/score"), } diff --git a/balancer/routes/staticFiles_test.go b/balancer/routes/staticFiles_test.go index 8f14509cd..2711612cc 100644 --- a/balancer/routes/staticFiles_test.go +++ b/balancer/routes/staticFiles_test.go @@ -32,7 +32,7 @@ func TestStaticFileHandler(t *testing.T) { "/balancer/admin", "/balancer/teams/abc/status/", "/balancer/teams/foo-bar-123/status/", - "/balancer/teams/abc/joined/", + "/balancer/teams/abc/joining/", "/balancer/score-overview/", "/balancer/score-overview/teams/abc/score/", }