Set the base url correctly when it's stored in the settings

This commit is contained in:
tidusjar 2021-02-12 12:21:38 +00:00
commit 3d7a048654

View file

@ -240,6 +240,12 @@ namespace Ombi
} }
}); });
} }
else
{
// The base url might have changed in the settings, so just rewrite
setBaseUrl = true;
baseUrl = ombiSettings.BaseUrl.HasValue() ? ombiSettings.BaseUrl : string.Empty;
}
if (setBaseUrl) if (setBaseUrl)