Fix variable re-use bug
parent
d97e07b522
commit
85055d2921
|
@ -199,7 +199,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
if save == nil {
|
||||
if save == nil || r.URL.Path == "/savedata/update" {
|
||||
w.WriteHeader(http.StatusOK)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue