Add default http router

This commit is contained in:
Tom Hubrecht 2022-06-28 15:58:46 +02:00
parent 6a6d14fe6f
commit 9cc32f642a

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