Reserved directory for public interface now lives in public instead of _public
This commit is contained in:
parent
c118035c33
commit
c18465d498
3 changed files with 8 additions and 8 deletions
|
@ -55,7 +55,7 @@ func (c submissionTeamChecker) ServeHTTP(w http.ResponseWriter, r *http.Request)
|
|||
team := sURL[0]
|
||||
|
||||
// Check team validity and existance
|
||||
if len(team) < 1 || team[0] == '_' {
|
||||
if len(team) < 1 || team == "public" {
|
||||
log.Println("INVALID TEAM:", team)
|
||||
http.Error(w, "{\"errmsg\":\"Équipe inexistante.\"}", http.StatusBadRequest)
|
||||
return
|
||||
|
|
Reference in a new issue