Skip to content

Commit 86a893e

Browse files
committed
adding health url
1 parent effd654 commit 86a893e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

museum_of_dreams_project/urls.py

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from django.conf.urls import include
1919
from django.conf.urls.static import static
2020
from django.contrib import admin
21+
from django.http import HttpResponse
2122
from django.urls import path
2223
from django_distill import distill_path
2324
from django.views.generic.base import RedirectView
@@ -40,6 +41,7 @@
4041
path("grappelli-docs/", include("grappelli.urls_docs")),
4142
path("ckeditor/", include("ckeditor_uploader.urls")),
4243
path("admin/", admin.site.urls, name=admin),
44+
path("health/", lambda request: HttpResponse("OK"), name="health"),
4345
distill_path(
4446
"", views.HomeView.as_view(), name="home", distill_file="index.html"
4547
),

0 commit comments

Comments
 (0)