Fix variable re-use bug

pull/4/head
maru 9 months ago
parent d97e07b522
commit 85055d2921
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D

@ -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…
Cancel
Save