7 lines
207 B
Python
7 lines
207 B
Python
from django.urls import re_path
|
|
from . import consumer
|
|
|
|
websocket_urlpatterns = [
|
|
re_path(r'ws/stream/$', consumer.VideoConsumer.as_asgi()),
|
|
re_path(r'ws/stream$', consumer.VideoConsumer.as_asgi())
|
|
] |