From a188df3ae359ab770aac85d19d23739286ef6d41 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Tue, 9 Jun 2026 22:53:50 +0200 Subject: Initial commit --- chat/routing.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 chat/routing.py (limited to 'chat/routing.py') diff --git a/chat/routing.py b/chat/routing.py new file mode 100644 index 0000000..9f08ddf --- /dev/null +++ b/chat/routing.py @@ -0,0 +1,7 @@ +from django.urls import re_path + +from . import consumers + +websocket_urlpatterns = [ + re_path(r"ws/chat/(?P\w+)/$", consumers.ChatConsumer.as_asgi()), +] -- cgit v1.2.3