Add dta_service/core/routing.py
This commit is contained in:
6
dta_service/core/routing.py
Normal file
6
dta_service/core/routing.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import re_path
|
||||
from . import consumers
|
||||
|
||||
websocket_urlpatterns = [
|
||||
re_path(r'ws/chat/(?P<conversation_id>\w+)/$', consumers.ChatConsumer.as_asgi()),
|
||||
]
|
||||
Reference in New Issue
Block a user