/rss shouldn't be optional in the rss route

Co-authored-by: Adeodato Simó <73768+dato@users.noreply.github.com>
This commit is contained in:
Matt Katz 2024-03-12 21:56:14 -04:00 committed by GitHub
parent 3754af7bc5
commit a2e41faf69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -583,7 +583,7 @@ urlpatterns = [
name="shelf",
),
re_path(
rf"^{LOCAL_USER_PATH}/(books|shelf)/(?P<shelf_identifier>[\w-]+)(/rss)?/?$",
rf"^{LOCAL_USER_PATH}/(books|shelf)/(?P<shelf_identifier>[\w-]+)/rss/?$",
views.rss_feed.RssShelfFeed(),
name="shelf-rss",
),