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