Skip to content

Commit

Permalink
fix healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
scruwys committed Apr 6, 2022
1 parent dec1236 commit 0f46e56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/api/v1/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def healthcheck(request):


baseurls = [
url(r'health/?^', healthcheck),
url(r'', not_found)
url(r'^health/?$', healthcheck),
url(r'', not_found),
]

api = [
Expand All @@ -43,7 +43,6 @@ def healthcheck(request):
*baseurls,
]


urlpatterns = [
url(r'^api/v1/', include(api)),
]

0 comments on commit 0f46e56

Please sign in to comment.