ft_transcendence/django/chat/routing.py
2024-08-27 18:09:09 +02:00

8 lines
171 B
Python

from django.urls import re_path
from . import consumersChat
websocket_urlpatterns = [
re_path(r'ws/chat/(?P<chat_id>\d+)$', consumersChat.ChatConsumer.as_asgi()),
]