mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
fix /api route names
This commit is contained in:
@@ -192,7 +192,7 @@ namespace Jackett
|
|||||||
);
|
);
|
||||||
|
|
||||||
config.Routes.MapHttpRoute(
|
config.Routes.MapHttpRoute(
|
||||||
name: "LegacyTorznab",
|
name: "LegacyTorznabApi",
|
||||||
routeTemplate: "torznab/{indexerId}/api",
|
routeTemplate: "torznab/{indexerId}/api",
|
||||||
defaults: new
|
defaults: new
|
||||||
{
|
{
|
||||||
@@ -213,7 +213,7 @@ namespace Jackett
|
|||||||
);
|
);
|
||||||
|
|
||||||
config.Routes.MapHttpRoute(
|
config.Routes.MapHttpRoute(
|
||||||
name: "LegacyPotato",
|
name: "LegacyPotatoApi",
|
||||||
routeTemplate: "potato/{indexerId}/api",
|
routeTemplate: "potato/{indexerId}/api",
|
||||||
defaults: new
|
defaults: new
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user