15 lines
352 B
Python
15 lines
352 B
Python
from django.contrib import admin
|
|
from django.http import JsonResponse
|
|
from django.urls import include, path
|
|
|
|
|
|
def health(_request):
|
|
return JsonResponse({"ok": True, "service": "weirsoe-party-protocol"})
|
|
|
|
|
|
urlpatterns = [
|
|
path("admin/", admin.site.urls),
|
|
path("healthz", health, name="healthz"),
|
|
path("lobby/", include("lobby.urls")),
|
|
]
|