From 37aa23337dcb55970a1758ce11b0797e7cdcd3fa Mon Sep 17 00:00:00 2001 From: YouROK <8yourok8@mail.ru> Date: Thu, 4 Mar 2021 11:12:14 +0300 Subject: [PATCH] remove comments --- server/web/api/stream.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/web/api/stream.go b/server/web/api/stream.go index 97de8c6..99de164 100644 --- a/server/web/api/stream.go +++ b/server/web/api/stream.go @@ -130,9 +130,6 @@ func streamNoAuth(c *gin.Context) { title := c.Query("title") poster := c.Query("poster") - // c.Header("WWW-Authenticate", "Basic realm=Authorization Required") - // c.AbortWithStatus(http.StatusUnauthorized) - if link == "" { c.AbortWithError(http.StatusBadRequest, errors.New("link should not be empty")) return