From 341f7c8091a176287953fede84ef3dce1d2f06e9 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Sat, 16 Aug 2025 15:10:13 +0200 Subject: [PATCH] move websockets to new path --- backend/voting/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/voting/routing.py b/backend/voting/routing.py index 17970f8..016cb42 100644 --- a/backend/voting/routing.py +++ b/backend/voting/routing.py @@ -3,5 +3,5 @@ from django.urls import re_path from . import consumers websocket_urlpatterns = [ - re_path(r"voting/session/(?P[\w\-]+)/$", consumers.SessionConsumer.as_asgi()), + re_path(r"ws/voting/session/(?P[\w\-]+)/$", consumers.SessionConsumer.as_asgi()), ]