dashboard: generate a special teams.json with members for trophee scene

This commit is contained in:
nemunaire 2020-01-30 18:43:44 +01:00
parent b9fa5accff
commit 66a72633d6
4 changed files with 32 additions and 4 deletions

View file

@ -121,7 +121,7 @@ func init() {
if forwarder != nil {
fwd_request(w, r, *forwarder)
} else {
http.ServeFile(w, r, path.Join(TeamsDir, "teams.json"))
http.ServeFile(w, r, path.Join(TeamsDir, "public", "teams.json"))
}
})
api.Router().GET("/themes.json", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {