From 0b1e337730e04a045c04bae1203f587a92ef8654 Mon Sep 17 00:00:00 2001 From: westfarn Date: Sun, 6 Jul 2025 17:52:51 +0000 Subject: [PATCH] Add dta_service/core/routing.py --- dta_service/core/routing.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dta_service/core/routing.py diff --git a/dta_service/core/routing.py b/dta_service/core/routing.py new file mode 100644 index 0000000..9fc3cc5 --- /dev/null +++ b/dta_service/core/routing.py @@ -0,0 +1,6 @@ +from django.urls import re_path +from . import consumers + +websocket_urlpatterns = [ + re_path(r'ws/chat/(?P\w+)/$', consumers.ChatConsumer.as_asgi()), +] \ No newline at end of file