Skip to content

Commit

Permalink
Fixed #3780
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Oct 2, 2020
1 parent 42f0d3e commit 10db861
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Ombi/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, ISe
var sharedOptions = new SharedOptions();
if (settings.BaseUrl.HasValue())
{
if (settings.BaseUrl.EndsWith("/"))
{
settings.BaseUrl = settings.BaseUrl.Remove(settings.BaseUrl.Length - 1, 1);
}
sharedOptions.RequestPath = settings.BaseUrl;
}

Expand Down

0 comments on commit 10db861

Please sign in to comment.