mirror of
https://github.com/Chenyu550/alist-fork.git
synced 2025-06-10 14:46:53 -04:00
fix: missed assignment [skip ci]
This commit is contained in:
parent
1b28e6af3e
commit
c08fdfc868
@ -25,6 +25,6 @@ func GetApiUrl(r *http.Request) string {
|
||||
}
|
||||
api = fmt.Sprintf("%s://%s", protocol, stdpath.Join(host, api))
|
||||
}
|
||||
strings.TrimSuffix(api, "/")
|
||||
api = strings.TrimSuffix(api, "/")
|
||||
return api
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user