Fixed: Calender .ics feed

(cherry picked from commit 147cfe538a3ac1a54ae9e84460e37f744e69668f)
This commit is contained in:
ta264 2021-10-25 21:36:44 +01:00
parent 3d3292fd3d
commit 355dcaed6c
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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)