2025-05-08 17:25:32 +08:00
|
|
|
# apps/chat/routing.py
|
|
|
|
from django.urls import re_path
|
2025-05-13 11:58:17 +08:00
|
|
|
from apps.chat.consumers import ChatStreamConsumer
|
2025-05-08 17:25:32 +08:00
|
|
|
|
|
|
|
websocket_urlpatterns = [
|
|
|
|
re_path(r'ws/chat/stream/$', ChatStreamConsumer.as_asgi()),
|
|
|
|
]
|