mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08: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…
x
Reference in New Issue
Block a user