X-Git-Url: https://handorf.org/code/?a=blobdiff_plain;f=logviewer%2Flogviewer%2Furls.py;h=584a77cb38ab15ccf78f2eae6870bb61fe56f048;hb=09502060aad90cd0ad638cf4ad3cb6560e2f646c;hp=e915814ef36c92e2eb1baec9832efbdb94b1818c;hpb=e93a683aa4d384e2c1ee88ca2f0b34be6c1b954a;p=kismet-logviewer.git diff --git a/logviewer/logviewer/urls.py b/logviewer/logviewer/urls.py index e915814..584a77c 100644 --- a/logviewer/logviewer/urls.py +++ b/logviewer/logviewer/urls.py @@ -15,6 +15,7 @@ Including another URLconf """ from django.contrib import admin from django.urls import include, path +from django.http import HttpResponse urlpatterns = [ path('', include('browse.urls')), @@ -38,4 +39,7 @@ urlpatterns = [ path('messagebus/last-time/0/messages.json', include('dbview.urls')), path('channels/channels.json', include('dbview.urls')), path('devices/views/all/devices.json', include('dbview.urls')), + path('eventbus/events.ws', include('dbview.urls')), + path('devices/by-key//device.json', include('devices.urls')), + path('devices/multikey/as-object/devices.json', include('dbview.urls')), ]