robosats/chat/routing.py
2022-10-25 11:04:12 -07:00

8 lines
169 B
Python

from django.urls import re_path
from . import consumers
websocket_urlpatterns = [
re_path(r"ws/chat/(?P<order_id>\w+)/$", consumers.ChatRoomConsumer.as_asgi()),
]