mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
feat: add proxy_range option for 139Yun Alias AList V3 (#6496)
This commit is contained in:
@@ -106,6 +106,9 @@ func Proxy(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
}
|
||||
if storage.GetStorage().ProxyRange {
|
||||
common.ProxyRange(link, file.GetSize())
|
||||
}
|
||||
err = common.Proxy(c.Writer, c.Request, link, file)
|
||||
if err != nil {
|
||||
common.ErrorResp(c, err, 500, true)
|
||||
|
||||
Reference in New Issue
Block a user