mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fixed bug with download proxy url using indexerName instead of indexerID
This commit is contained in:
@@ -51,19 +51,19 @@ namespace Jackett
|
||||
|
||||
config.Routes.MapHttpRoute(
|
||||
name: "apiDefault",
|
||||
routeTemplate: "api/{indexerName}",
|
||||
routeTemplate: "api/{indexerID}",
|
||||
defaults: new { controller = "API", action = "Call" }
|
||||
);
|
||||
|
||||
config.Routes.MapHttpRoute(
|
||||
name: "api",
|
||||
routeTemplate: "api/{indexerName}/api",
|
||||
routeTemplate: "api/{indexerID}/api",
|
||||
defaults: new { controller = "API", action = "Call" }
|
||||
);
|
||||
|
||||
config.Routes.MapHttpRoute(
|
||||
name: "download",
|
||||
routeTemplate: "api/{indexerName}/download/{path}/download.torrent",
|
||||
routeTemplate: "api/{indexerID}/download/{path}/download.torrent",
|
||||
defaults: new { controller = "Download", action = "Download" }
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user