initial commit
This commit is contained in:
6
backend/websocket/routing.py
Normal file
6
backend/websocket/routing.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.urls import re_path, path
|
||||
from . import consumers
|
||||
|
||||
websocket_urlpatterns = [
|
||||
re_path(r"ws/channel/(?P<channel_id>[\w-]+)/$", consumers.ChatConsumer.as_asgi()),
|
||||
]
|
||||
Reference in New Issue
Block a user