Skip to content

Commit fdcd293

Browse files
Tony QiuTony Qiu
authored andcommitted
remove trailing slash in health route
1 parent 5b7caaf commit fdcd293

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

backend/apps/core/urls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
urlpatterns = [
1010
path("", views.home, name="home"),
11-
path("health/", views.health, name="health"),
1211
path("auth/token/", views.create_auth_token, name="create_auth_token"),
1312
path("auth/register/", views.create_user, name="create_user"),
1413
]

backend/config/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
urlpatterns = [
77
path("admin/", admin.site.urls),
8-
path("health/", views.health, name="health"),
8+
path("health", views.health, name="health"),
99
path("api/events/", include("apps.events.urls")),
1010
path("api/clubs/", include("apps.clubs.urls")),
1111
path("api/newsletter/", include("apps.newsletter.urls")),

0 commit comments

Comments
 (0)