From 1e2e488516cf213268d50262ba204a8216dc91da Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 31 Oct 2022 20:40:58 +0000 Subject: [PATCH] Add slashes to API URLs --- website/api/urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/api/urls.py b/website/api/urls.py index e85e3a5..871ef02 100644 --- a/website/api/urls.py +++ b/website/api/urls.py @@ -7,9 +7,9 @@ from . import views app_name = "api" api_urlpatterns = [ - path("ping", views.PingAPIView.as_view(), name="ping"), - path("page-links", views.PageLinksAPIView.as_view(), name="page-links"), - path("lmotfy", views.LMOTFYAPIView.as_view(), name="lmotfy"), + path("ping/", views.PingAPIView.as_view(), name="ping"), + path("page-links/", views.PageLinksAPIView.as_view(), name="page-links"), + path("lmotfy/", views.LMOTFYAPIView.as_view(), name="lmotfy"), ] schema_view = get_schema_view(