mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Fixed #3780
This commit is contained in:
parent
42f0d3e8e4
commit
10db8611ca
1 changed files with 4 additions and 0 deletions
|
@ -133,6 +133,10 @@ namespace Ombi
|
||||||
var sharedOptions = new SharedOptions();
|
var sharedOptions = new SharedOptions();
|
||||||
if (settings.BaseUrl.HasValue())
|
if (settings.BaseUrl.HasValue())
|
||||||
{
|
{
|
||||||
|
if (settings.BaseUrl.EndsWith("/"))
|
||||||
|
{
|
||||||
|
settings.BaseUrl = settings.BaseUrl.Remove(settings.BaseUrl.Length - 1, 1);
|
||||||
|
}
|
||||||
sharedOptions.RequestPath = settings.BaseUrl;
|
sharedOptions.RequestPath = settings.BaseUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue