mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-20 14:19:46 +00:00
Fixed: Trimming slashes from UrlBase when using environment variable
This commit is contained in:
parent
cc5b5463f2
commit
d7ceb11a64
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ namespace NzbDrone.Core.Configuration
|
|||
{
|
||||
get
|
||||
{
|
||||
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
|
||||
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
|
||||
|
||||
if (urlBase.IsNullOrWhiteSpace())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue