From a17bb665363dbf8082f5cd90b10f7ac27ec99610 Mon Sep 17 00:00:00 2001 From: starnakin Date: Mon, 15 Jan 2024 14:05:18 +0100 Subject: [PATCH] fix: be smart --- tournament/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tournament/routing.py b/tournament/routing.py index 4434723..7271972 100644 --- a/tournament/routing.py +++ b/tournament/routing.py @@ -2,5 +2,5 @@ from django.urls import re_path from . import consumers websocket_urlpatterns = [ - re_path(r'ws/games/(?P\d+)$', consumers.TournamentWebConsumer.as_asgi()) + re_path(r'ws/tournaments/(?P\d+)$', consumers.TournamentWebConsumer.as_asgi()) ]