dashboard: generate a special teams.json with members for trophee scene
This commit is contained in:
parent
b9fa5accff
commit
66a72633d6
4 changed files with 32 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue