mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
✨ proxy add account
This commit is contained in:
@@ -103,7 +103,7 @@ func (a AliDrive) Items() []Item {
|
||||
}
|
||||
}
|
||||
|
||||
func (a AliDrive) Proxy(c *gin.Context) {
|
||||
func (a AliDrive) Proxy(c *gin.Context, account *model.Account) {
|
||||
c.Request.Header.Del("Origin")
|
||||
c.Request.Header.Set("Referer", "https://www.aliyundrive.com/")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user