mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-09 05:22:09 +02:00
Fixed: Trimming slashes from UrlBase when using environment variable
This commit is contained in:
parent
a4257cbcde
commit
948fe0a6dc
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ public string UrlBase
|
|||
{
|
||||
get
|
||||
{
|
||||
var urlBase = _serverOptions.UrlBase ?? GetValue("UrlBase", "").Trim('/');
|
||||
var urlBase = (_serverOptions.UrlBase ?? GetValue("UrlBase", "")).Trim('/');
|
||||
|
||||
if (urlBase.IsNullOrWhiteSpace())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue