mirror of https://github.com/Xhofe/alist
fix: missed assignment [skip ci]
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