mirror of
https://github.com/Readarr/Readarr
synced 2025-12-29 03:34:35 +01:00
Fixed: Calender .ics feed
(cherry picked from commit 147cfe538a3ac1a54ae9e84460e37f744e69668f)
This commit is contained in:
parent
3d3292fd3d
commit
355dcaed6c
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ public IActionResult IndexContent([FromRoute] string path)
|
|||
}
|
||||
|
||||
[HttpGet("")]
|
||||
[HttpGet("/{**path:regex(^(?!/*api/).*)}")]
|
||||
[HttpGet("/{**path:regex(^(?!(api|feed)/).*)}")]
|
||||
public IActionResult Index([FromRoute] string path)
|
||||
{
|
||||
return MapResource(path);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public VersionedFeedControllerAttribute(int version, string resource = "[control
|
|||
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 a new issue