0.3.20
support chat v3
This commit is contained in:
@@ -11,7 +11,7 @@ import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
from channels.routing import ProtocolTypeRouter, URLRouter
|
||||
from channels.auth import AuthMiddlewareStack
|
||||
# from channels.auth import AuthMiddlewareStack
|
||||
from ChatServiceApp.websocket_urls import websocket_urlpatterns
|
||||
from channels.security.websocket import AllowedHostsOriginValidator
|
||||
from channels.sessions import SessionMiddlewareStack
|
||||
|
||||
@@ -88,7 +88,7 @@ TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'TWB.wsgi.application'
|
||||
# WSGI_APPLICATION = 'TWB.wsgi.application'
|
||||
ASGI_APPLICATION = 'TWB.asgi.application'
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
|
||||
Reference in New Issue
Block a user