Skip to content

Commit

Permalink
Fix incorrect route to score overviews
Browse files Browse the repository at this point in the history
  • Loading branch information
J12934 committed Nov 16, 2024
1 parent fd836e2 commit 302d716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balancer/routes/staticFiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ func handleStaticFiles(bundle *bundle.Bundle) http.Handler {
regexp.MustCompile("/balancer/admin"),
regexp.MustCompile("/balancer/teams/" + teamNamePatternString + "/status"),
regexp.MustCompile("/balancer/teams/" + teamNamePatternString + "/joined"),
regexp.MustCompile("/balancer/score-board"),
regexp.MustCompile("/balancer/score-board/teams/" + teamNamePatternString + "/score"),
regexp.MustCompile("/balancer/score-overview"),
regexp.MustCompile("/balancer/score-overview/teams/" + teamNamePatternString + "/score"),
}

return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 302d716

Please sign in to comment.