mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-16 15:16:27 +08:00
🐛 update down.go
This commit is contained in:
@@ -55,6 +55,6 @@ func Down(c *gin.Context) {
|
|||||||
c.JSON(200, MetaResponse(500, err.Error()))
|
c.JSON(200, MetaResponse(500, err.Error()))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
c.Redirect(301, file.Url)
|
c.Redirect(302, file.Url)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user