gukgjzkgjhgjh

This commit is contained in:
2026-04-20 00:04:15 +02:00
parent 5280a87e8b
commit 659999f4fd
409 changed files with 19957 additions and 5176 deletions

View File

@@ -11,15 +11,15 @@ import os
from django.core.asgi import get_asgi_application
from channels.routing import ProtocolTypeRouter, URLRouter
from channels.auth import AuthMiddlewareStack
#import myapp.routing # your app's routing
import social.chat.routing
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'vontor_cz.settings')
application = ProtocolTypeRouter({
"http": get_asgi_application(),
# "websocket": AuthMiddlewareStack(
# URLRouter(
# #myapp.routing.websocket_urlpatterns
# )
# ),
"websocket": AuthMiddlewareStack(
URLRouter(
social.chat.routing.websocket_urlpatterns
)
),
})