robosats/chat/routing.py
2022-02-17 11:50:10 -08:00

8 lines
180 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()),
]