Add default http router

This commit is contained in:
Tom Hubrecht 2022-06-28 15:58:46 +02:00 committed by thubrecht
parent 95136cb4eb
commit 7f00ce0ff1

View file

@ -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,
}
)