This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-11-11 13:48:19 +00:00
|
|
|
"""root Websocket URLS"""
|
2020-11-26 16:08:26 +00:00
|
|
|
from channels.auth import AuthMiddlewareStack
|
2020-11-11 13:48:19 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from passbook.outposts.channels import OutpostConsumer
|
2020-11-26 16:08:26 +00:00
|
|
|
from passbook.root.messages.consumer import MessageConsumer
|
2020-11-11 13:48:19 +00:00
|
|
|
|
2020-11-26 16:08:26 +00:00
|
|
|
websocket_urlpatterns = [
|
|
|
|
path("ws/outpost/<uuid:pk>/", OutpostConsumer.as_asgi()),
|
|
|
|
path("ws/client/", AuthMiddlewareStack(MessageConsumer.as_asgi())),
|
|
|
|
]
|