1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-10 11:10:40 +02:00

Fixed: Trimming slashes from UrlBase when using environment variable

This commit is contained in:
Bogdan 2024-05-18 19:05:24 +03:00 committed by Mark McDowall
parent cc5b5463f2
commit d7ceb11a64

View File

@ -242,7 +242,7 @@ public string UrlBase
{
get
{
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
if (urlBase.IsNullOrWhiteSpace())
{