X-Git-Url: http://spangdorfia.com/code/?p=kismet-logviewer.git;a=blobdiff_plain;f=logviewer%2Feventbus%2Frouting.py;fp=logviewer%2Feventbus%2Frouting.py;h=4a4575c910cb9e4f61b9473da09e7bc67d47badc;hp=0000000000000000000000000000000000000000;hb=d4fe9834a60132f118a1e8ee68e5221b28e10ccc;hpb=662453a92f419012cde6a79dc38df89c5be4d91b diff --git a/logviewer/eventbus/routing.py b/logviewer/eventbus/routing.py new file mode 100644 index 0000000..4a4575c --- /dev/null +++ b/logviewer/eventbus/routing.py @@ -0,0 +1,7 @@ +from django.urls import re_path, path + +from . import consumers + +websocket_urlpatterns = [ + path("eventbus/events.ws", consumers.EventbusConsumer.as_asgi()), +]