fix(ilanzou): add header X-Forwarded-For to solve IP ban (#7977)

* fix: warning

* feat: ip header

* fix: ip header for fs link
This commit is contained in:
YangRucheng
2025-02-16 12:20:28 +08:00
committed by GitHub
parent ec3fc945a3
commit f25be154c6
3 changed files with 17 additions and 5 deletions

View File

@ -9,6 +9,7 @@ type Addition struct {
driver.RootID
Username string `json:"username" type:"string" required:"true"`
Password string `json:"password" type:"string" required:"true"`
Ip string `json:"ip" type:"string"`
Token string
UUID string