feat(lobby): add create/join/detail session endpoints
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
from django.contrib import admin
|
||||
from django.http import JsonResponse
|
||||
from django.urls import path
|
||||
from django.urls import include, path
|
||||
|
||||
|
||||
def health(_request):
|
||||
return JsonResponse({'ok': True, 'service': 'weirsoe-party-protocol'})
|
||||
return JsonResponse({"ok": True, "service": "weirsoe-party-protocol"})
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('healthz', health, name='healthz'),
|
||||
path("admin/", admin.site.urls),
|
||||
path("healthz", health, name="healthz"),
|
||||
path("lobby/", include("lobby.urls")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user