"""
ASGI config for sharefile project.

It exposes the ASGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application
from channels.routing import ProtocolTypeRouter , URLRouter
from channels.auth import AuthMiddlewareStack
from home import routing
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sharefile.settings')

application = get_asgi_application()

application = ProtocolTypeRouter({
    'websocket':AuthMiddlewareStack(
        URLRouter(
            routing.urlpatters

        )
    )
})
e7791690bca90f544c54942ddfbaab3f559652ae
<mask token>

<mask token>
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sharefile.settings')
<mask token>

<mask token>
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sharefile.settings')
application = get_asgi_application()
application = ProtocolTypeRouter({'websocket': AuthMiddlewareStack(
    URLRouter(routing.urlpatters))})

<mask token>
import os
from django.core.asgi import get_asgi_application
from channels.routing import ProtocolTypeRouter, URLRouter
from channels.auth import AuthMiddlewareStack
from home import routing
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sharefile.settings')
application = get_asgi_application()
application = ProtocolTypeRouter({'websocket': AuthMiddlewareStack(
    URLRouter(routing.urlpatters))})

"""
ASGI config for sharefile project.

It exposes the ASGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application
from channels.routing import ProtocolTypeRouter , URLRouter
from channels.auth import AuthMiddlewareStack
from home import routing
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sharefile.settings')

application = get_asgi_application()

application = ProtocolTypeRouter({
    'websocket':AuthMiddlewareStack(
        URLRouter(
            routing.urlpatters

        )
    )
})