From e1d942a7ca1be49cef5579cbc2a3e498c1f973ef 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, } )