Fixed: Trimming slashes from UrlBase when using environment variable

pull/2136/head
Bogdan 3 weeks ago
parent a4257cbcde
commit 948fe0a6dc

@ -245,7 +245,7 @@ namespace NzbDrone.Core.Configuration
{
get
{
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
if (urlBase.IsNullOrWhiteSpace())
{

Loading…
Cancel
Save