mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-26 19:38:42 +00:00
Fixed: Trimming slashes from UrlBase when using environment variable
This commit is contained in:
@@ -241,7 +241,7 @@ namespace NzbDrone.Core.Configuration
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
|
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
|
||||||
|
|
||||||
if (urlBase.IsNullOrWhiteSpace())
|
if (urlBase.IsNullOrWhiteSpace())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user