From: qydysky Date: Mon, 8 Jan 2024 16:28:33 +0000 (+0800) Subject: Fix X-Git-Tag: v0.12.0~2 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=5c9bb0557204115d486c4752fd7f1086731356b3;p=bili_danmu%2F.git Fix --- diff --git a/Reply/F.go b/Reply/F.go index 7a6b3da..c8843c2 100644 --- a/Reply/F.go +++ b/Reply/F.go @@ -1412,7 +1412,7 @@ func init() { if key, e := expirer.Reg(r.URL.Query().Get("key"), time.Second*30); e != nil { w.WriteHeader(http.StatusForbidden) } else { - w.Write([]byte(key)) + _, _ = w.Write([]byte(key)) } })