diff --git a/server/middlewares/down.go b/server/middlewares/down.go index 5fee47b6b0c..4780216c50e 100644 --- a/server/middlewares/down.go +++ b/server/middlewares/down.go @@ -27,7 +27,7 @@ func Down(c *gin.Context) { c.Set("meta", meta) // verify sign if needSign(meta, rawPath) { - s := c.Param("sign") + s := c.Query("sign") err = sign.Verify(filename, s) if err != nil { common.ErrorResp(c, err, 401)