diff options
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/api0/playerinfo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/api0/playerinfo.go b/pkg/api/api0/playerinfo.go index 94ff117..667c86f 100644 --- a/pkg/api/api0/playerinfo.go +++ b/pkg/api/api0/playerinfo.go @@ -75,6 +75,7 @@ func (h *Handler) handlePlayer(w http.ResponseWriter, r *http.Request) { if r.Method == http.MethodOptions { w.Header().Set("Allow", "OPTIONS, GET, HEAD") + w.WriteHeader(http.StatusNoContent) return } |