liquid/web/streaming/routing.py
2025-06-05 17:31:39 +07:00

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())
]