Skip to content

Commit

Permalink
fix slash issue
Browse files Browse the repository at this point in the history
  • Loading branch information
versun committed Mar 23, 2024
1 parent 4830d6a commit 7e34590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/urls.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from django.urls import path

from . import views
from django.urls import re_path

app_name = "core"
urlpatterns = [
path("<str:feed_sid>/", views.rss, name="rss"),
#path("<str:feed_sid>/", views.rss, name="rss"),
re_path(r'(?P<feed_sid>[^/]+)/?$', views.rss, name='rss'),
]

0 comments on commit 7e34590

Please sign in to comment.