From 9cc32f642a068b75e371f9af4698eda00c9b47c3 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 28 Jun 2022 15:58:46 +0200 Subject: [PATCH] Add default http router --- gestioasso/routing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gestioasso/routing.py b/gestioasso/routing.py index c293a9cb..f329fdcd 100644 --- a/gestioasso/routing.py +++ b/gestioasso/routing.py @@ -1,4 +1,5 @@ from channels.auth import AuthMiddlewareStack +from channels.http import AsgiHandler from channels.routing import ProtocolTypeRouter, URLRouter from django.urls import path @@ -14,5 +15,6 @@ application = ProtocolTypeRouter( ] ) ), + "http": AsgiHandler, } )