mirror of
https://github.com/Radarr/Radarr.git
synced 2024-07-14 16:55:21 +02:00
Fixed: Trimming slashes from UrlBase when using environment variable
(cherry picked from commit d7ceb11a64c3926f35aabf67c935680cf031bd0e)
This commit is contained in:
parent
638f92495c
commit
320bfeec16
@ -241,7 +241,7 @@ public string UrlBase
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
|
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
|
||||||
|
|
||||||
if (urlBase.IsNullOrWhiteSpace())
|
if (urlBase.IsNullOrWhiteSpace())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user