Add default http router

This commit is contained in:
Tom Hubrecht 2022-06-28 15:58:46 +02:00
parent 654848c4f0
commit e1d942a7ca

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