f69efb67ad
- Tauri desktop app (apps/desktop) - Python Django API service (services/api) - Deployment scripts and docs
17 lines
345 B
Python
17 lines
345 B
Python
from django.contrib import admin
|
|
from django.urls import include, path
|
|
from django.http import JsonResponse
|
|
|
|
|
|
def health(_request):
|
|
return JsonResponse({"status": "ok"})
|
|
|
|
|
|
urlpatterns = [
|
|
path("admin/", admin.site.urls),
|
|
path("health/", health),
|
|
path("auth/", include("accounts.urls")),
|
|
path("vpn/", include("vpn.urls")),
|
|
]
|
|
|