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))
|
api = fmt.Sprintf("%s://%s", protocol, stdpath.Join(host, api))
|
||||||
}
|
}
|
||||||
strings.TrimSuffix(api, "/")
|
api = strings.TrimSuffix(api, "/")
|
||||||
return api
|
return api
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user