mirror of https://github.com/lidarr/Lidarr
Fixed: Calender .ics feed
Fixes #2452 (cherry picked from commit 147cfe538a3ac1a54ae9e84460e37f744e69668f)
This commit is contained in:
parent
be53503ec0
commit
31881a2c5a
|
@ -41,7 +41,7 @@ namespace Lidarr.Http.Frontend
|
|||
}
|
||||
|
||||
[HttpGet("")]
|
||||
[HttpGet("/{**path:regex(^(?!api/).*)}")]
|
||||
[HttpGet("/{**path:regex(^(?!(api|feed)/).*)}")]
|
||||
public IActionResult Index([FromRoute] string path)
|
||||
{
|
||||
return MapResource(path);
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace Lidarr.Http
|
|||
public int Version { get; private set; }
|
||||
}
|
||||
|
||||
public class V1FeedControllerAttribute : VersionedApiControllerAttribute
|
||||
public class V1FeedControllerAttribute : VersionedFeedControllerAttribute
|
||||
{
|
||||
public V1FeedControllerAttribute(string resource = "[controller]")
|
||||
: base(1, resource)
|
||||
|
|
Loading…
Reference in New Issue