mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-21 12:51:58 +08:00
✨ support native proxy url
This commit is contained in:
@ -95,7 +95,7 @@ func Link(c *gin.Context) {
|
||||
}
|
||||
if driver.Config().NoLink {
|
||||
common.SuccessResp(c, base.Link{
|
||||
Url: fmt.Sprintf("//%s/d%s?sign=%s", c.Request.Host, req.Path, utils.SignWithToken(utils.Base(rawPath), conf.Token)),
|
||||
Url: fmt.Sprintf("//%s/d%s?d=1&sign=%s", c.Request.Host, req.Path, utils.SignWithToken(utils.Base(rawPath), conf.Token)),
|
||||
})
|
||||
return
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user