aboutsummaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/urls.py b/api/urls.py
index dfc739bb..b0e104cd 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -1,6 +1,7 @@
from django.urls import include, path
from rest_framework.routers import SimpleRouter
+from .views import HealthcheckView
from .viewsets import SnakeNameViewSet
@@ -15,4 +16,5 @@ urlpatterns = (
# from django_hosts.resolvers import reverse
# snake_name_endpoint = reverse('bot:snakename-list', host='api') # `bot/` endpoints
path('bot/', include((bot_router.urls, 'api'), namespace='bot')),
+ path('healthcheck', HealthcheckView.as_view(), name='healthcheck')
)