mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Fixed the exception
This commit is contained in:
parent
9117b38758
commit
9e6a7d5a72
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
@inject ISettingsService<OmbiSettings> Settings
|
||||
@{
|
||||
var s = await Settings.GetSettingsAsync();
|
||||
var baseUrl = s.BaseUrl;
|
||||
var baseUrl = s?.BaseUrl ?? string.Empty;
|
||||
|
||||
if (!baseUrl.EndsWith("/"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue