forked from DGNum/gestioCOF
Add default django asgi handler
This commit is contained in:
parent
ac286209ed
commit
91e9beee11
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
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.core.asgi import get_asgi_application
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
|
||||||
from kfet.routing import KFRouter
|
from kfet.routing import KFRouter
|
||||||
|
@ -15,6 +15,6 @@ application = ProtocolTypeRouter(
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
"http": AsgiHandler,
|
"http": get_asgi_application(),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue