/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:55:49 -04:00 committed by GitHub
parent 7b388ae972
commit 3754af7bc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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