remove comments

This commit is contained in:
YouROK
2021-03-04 11:12:14 +03:00
parent e09a032e84
commit 37aa23337d

View File

@@ -130,9 +130,6 @@ func streamNoAuth(c *gin.Context) {
title := c.Query("title") title := c.Query("title")
poster := c.Query("poster") poster := c.Query("poster")
// c.Header("WWW-Authenticate", "Basic realm=Authorization Required")
// c.AbortWithStatus(http.StatusUnauthorized)
if link == "" { if link == "" {
c.AbortWithError(http.StatusBadRequest, errors.New("link should not be empty")) c.AbortWithError(http.StatusBadRequest, errors.New("link should not be empty"))
return return