mirror of
https://github.com/Readarr/Readarr
synced 2025-12-29 11:47:12 +01:00
Fixed: Trimming slashes from UrlBase when using environment variable
This commit is contained in:
parent
da30b55902
commit
8ee0df9c65
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,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