mirror of https://github.com/Radarr/Radarr
parent
5fb6b44950
commit
147cfe538a
|
@ -41,7 +41,7 @@ namespace Radarr.Http.Frontend
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("")]
|
[HttpGet("")]
|
||||||
[HttpGet("/{**path:regex(^(?!api/).*)}")]
|
[HttpGet("/{**path:regex(^(?!(api|feed)/).*)}")]
|
||||||
public IActionResult Index([FromRoute] string path)
|
public IActionResult Index([FromRoute] string path)
|
||||||
{
|
{
|
||||||
return MapResource(path);
|
return MapResource(path);
|
||||||
|
|
|
@ -17,7 +17,7 @@ namespace Radarr.Http
|
||||||
public int Version { get; private set; }
|
public int Version { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class V3FeedControllerAttribute : VersionedApiControllerAttribute
|
public class V3FeedControllerAttribute : VersionedFeedControllerAttribute
|
||||||
{
|
{
|
||||||
public V3FeedControllerAttribute(string resource = "[controller]")
|
public V3FeedControllerAttribute(string resource = "[controller]")
|
||||||
: base(3, resource)
|
: base(3, resource)
|
||||||
|
|
Loading…
Reference in New Issue