chess_rpg_backend/room/routing.py

9 lines
205 B
Python

from django.urls import path
from . import consumers
websocket_urlpatterns = [
path("room/", consumers.QueueConsumer.as_asgi()),
path("room/<str:room_name>", consumers.RoomConsumer.as_asgi()),
]