1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-30 23:21:20 +02:00

Use a unique socket for the drawing system

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-05-11 17:07:53 +02:00
parent 8c41684993
commit 0c80385958
4 changed files with 979 additions and 829 deletions

View File

@ -1,7 +1,10 @@
# Copyright (C) 2023 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
from django.urls import path
from . import consumers
websocket_urlpatterns = [
path("ws/draw/<int:tournament_id>/", consumers.DrawConsumer.as_asgi()),
path("ws/draw/", consumers.DrawConsumer.as_asgi()),
]