mirror of https://github.com/Jackett/Jackett
Add missing route
This commit is contained in:
parent
d79dd7e73e
commit
63f7a8912b
|
@ -33,11 +33,17 @@ namespace Jackett
|
||||||
);
|
);
|
||||||
|
|
||||||
config.Routes.MapHttpRoute(
|
config.Routes.MapHttpRoute(
|
||||||
name: "api",
|
name: "apiDefault",
|
||||||
routeTemplate: "api/{indexerName}",
|
routeTemplate: "api/{indexerName}",
|
||||||
defaults: new { controller = "API", action = "Call" }
|
defaults: new { controller = "API", action = "Call" }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
config.Routes.MapHttpRoute(
|
||||||
|
name: "api",
|
||||||
|
routeTemplate: "api/{indexerName}/api",
|
||||||
|
defaults: new { controller = "API", action = "Call" }
|
||||||
|
);
|
||||||
|
|
||||||
config.Routes.MapHttpRoute(
|
config.Routes.MapHttpRoute(
|
||||||
name: "download",
|
name: "download",
|
||||||
routeTemplate: "api/{indexerName}/download/{path}/download.torrent",
|
routeTemplate: "api/{indexerName}/download/{path}/download.torrent",
|
||||||
|
|
Loading…
Reference in New Issue