mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 06:15:25 -04:00
Bunch of OIDC fixes and one extra (#4126)
This commit is contained in:
@@ -91,7 +91,7 @@ public class OpdsController : BaseApiController
|
||||
if (!Configuration.DefaultBaseUrl.Equals(baseUrl, StringComparison.InvariantCultureIgnoreCase))
|
||||
{
|
||||
// We need to update the Prefix to account for baseUrl
|
||||
prefix = baseUrl + OpdsService.DefaultApiPrefix;
|
||||
prefix = baseUrl.TrimEnd('/') + OpdsService.DefaultApiPrefix;
|
||||
}
|
||||
|
||||
return new Tuple<string, string>(baseUrl, prefix);
|
||||
|
||||
Reference in New Issue
Block a user