Add default http router
This commit is contained in:
parent
6a6d14fe6f
commit
9cc32f642a
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
from channels.auth import AuthMiddlewareStack
|
from channels.auth import AuthMiddlewareStack
|
||||||
|
from channels.http import AsgiHandler
|
||||||
from channels.routing import ProtocolTypeRouter, URLRouter
|
from channels.routing import ProtocolTypeRouter, URLRouter
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
|
||||||
|
@ -14,5 +15,6 @@ application = ProtocolTypeRouter(
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
"http": AsgiHandler,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue