From 63f7a8912b6b2682e0552b7f53ee27e7882444c4 Mon Sep 17 00:00:00 2001 From: KZ Date: Sun, 19 Jul 2015 21:22:23 +0100 Subject: [PATCH] Add missing route --- src/Jackett/Startup.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Jackett/Startup.cs b/src/Jackett/Startup.cs index 43b456328..40a8a2b72 100644 --- a/src/Jackett/Startup.cs +++ b/src/Jackett/Startup.cs @@ -33,11 +33,17 @@ namespace Jackett ); config.Routes.MapHttpRoute( - name: "api", + name: "apiDefault", routeTemplate: "api/{indexerName}", defaults: new { controller = "API", action = "Call" } ); + config.Routes.MapHttpRoute( + name: "api", + routeTemplate: "api/{indexerName}/api", + defaults: new { controller = "API", action = "Call" } + ); + config.Routes.MapHttpRoute( name: "download", routeTemplate: "api/{indexerName}/download/{path}/download.torrent",