chat v3
This commit is contained in:
SDE
2023-08-13 14:50:35 +03:00
parent 2dd03e4d2f
commit 5d806d1498
4 changed files with 39 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'TWB.settings')
application = ProtocolTypeRouter({
'http': get_asgi_application(),
"websocket": AuthMiddlewareStack(
"websocket": QueryAuthMiddleware(
URLRouter(
websocket_urlpatterns
)