mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
fixed #413
This commit is contained in:
parent
d8111bcedb
commit
5bda83bfdf
4 changed files with 34 additions and 22 deletions
|
@ -102,7 +102,7 @@ namespace PlexRequests.UI.Modules
|
|||
RequestLimitRepo = rl;
|
||||
|
||||
|
||||
Get["/", true] = async (x, ct) => await RequestLoad();
|
||||
Get["SearchIndex","/", true] = async (x, ct) => await RequestLoad();
|
||||
|
||||
Get["movie/{searchTerm}", true] = async (x, ct) => await SearchMovie((string)x.searchTerm);
|
||||
Get["tv/{searchTerm}", true] = async (x, ct) => await SearchTvShow((string)x.searchTerm);
|
||||
|
@ -151,6 +151,7 @@ namespace PlexRequests.UI.Modules
|
|||
|
||||
private async Task<Negotiator> RequestLoad()
|
||||
{
|
||||
|
||||
var settings = await PrService.GetSettingsAsync();
|
||||
|
||||
return View["Search/Index", settings];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue