Add default http router
This commit is contained in:
parent
654848c4f0
commit
e1d942a7ca
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue