mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Set the base url correctly when it's stored in the settings
This commit is contained in:
parent
66aac001e7
commit
3d7a048654
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue