Serve monthly statistics by default
This commit is contained in:
parent
e13bee99a1
commit
b910dc750e
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ func (s *server) listenWebSocket(address string) {
|
|||
m.HandleFunc("/leaderboard-rated-acey-multi.json", s.handleLeaderboardFunc(matchTypeRated, bgammon.VariantAceyDeucey, true))
|
||||
m.HandleFunc("/leaderboard-rated-tabula-single.json", s.handleLeaderboardFunc(matchTypeRated, bgammon.VariantTabula, false))
|
||||
m.HandleFunc("/leaderboard-rated-tabula-multi.json", s.handleLeaderboardFunc(matchTypeRated, bgammon.VariantTabula, true))
|
||||
m.HandleFunc("/stats.json", s.handleStatsFunc(0))
|
||||
m.HandleFunc("/stats-month.json", s.handleStatsFunc(1))
|
||||
m.HandleFunc("/stats.json", s.handleStatsFunc(1))
|
||||
m.HandleFunc("/stats-day.json", s.handleStatsFunc(0))
|
||||
m.HandleFunc("/stats-total.json", s.handleStatsFunc(2))
|
||||
m.HandleFunc("/stats-tabula.json", s.handleStatsFunc(3))
|
||||
m.HandleFunc("/stats-wildbg.json", s.handleStatsFunc(4))
|
||||
|
|
Loading…
Reference in a new issue