0.12.4 ws fix
This commit is contained in:
@@ -22,12 +22,13 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TWB.settings')
|
||||
|
||||
application = ProtocolTypeRouter({
|
||||
'http': get_asgi_application(),
|
||||
"websocket": AllowedHostsOriginValidator(
|
||||
"websocket":
|
||||
# AllowedHostsOriginValidator(
|
||||
QueryAuthMiddleware(
|
||||
URLRouter(
|
||||
websocket_urlpatterns
|
||||
)
|
||||
)
|
||||
# )
|
||||
),
|
||||
# 'websocket': AuthMiddlewareStack(
|
||||
# URLRouter(
|
||||
|
||||
Reference in New Issue
Block a user