fix(api): Make trailing slashes for each endpoint optional
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2766>
This commit is contained in:
parent
673db74dd2
commit
6b8bbc5f80
6 changed files with 18 additions and 17 deletions
|
|
@ -28,7 +28,7 @@ router.register(r"attachments", common_views.AttachmentViewSet, "attachments")
|
|||
v1_patterns = router.urls
|
||||
|
||||
v1_patterns += [
|
||||
url(r"^oembed/$", views.OembedView.as_view(), name="oembed"),
|
||||
url(r"^oembed/?$", views.OembedView.as_view(), name="oembed"),
|
||||
url(
|
||||
r"^instance/",
|
||||
include(("funkwhale_api.instance.urls", "instance"), namespace="instance"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue