mirror of https://github.com/rsp2k/rtc_demo.git
9 lines
177 B
Python
9 lines
177 B
Python
|
# chat/routing.py
|
||
|
from django.urls import re_path
|
||
|
|
||
|
from . import consumers
|
||
|
|
||
|
websocket_urlpatterns = [
|
||
|
re_path(r'ws/(?P<rtc_name>\w+)/$', consumers.RtcConsumer.as_asgi()),
|
||
|
]
|