Fix variable re-use bug
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user