]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Fix
authorqydysky <qydysky@foxmail.com>
Mon, 8 Jan 2024 16:28:33 +0000 (00:28 +0800)
committerqydysky <qydysky@foxmail.com>
Mon, 8 Jan 2024 16:28:33 +0000 (00:28 +0800)
Reply/F.go

index 7a6b3daacf97c9b8025a45932eeeaa29f2d09961..c8843c2db0c89252f604bf42e04bc297a560e465 100644 (file)
@@ -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))
                        }
                })