You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
311 B
Python
12 lines
311 B
Python
from channels.routing import ProtocolTypeRouter, URLRouter
|
|
from django.urls import path
|
|
from abac import consumers
|
|
|
|
websocket_urlpatterns = [
|
|
path('ws/encrypted_value/', consumers.EncryptedValueConsumer.as_asgi()),
|
|
]
|
|
|
|
application = ProtocolTypeRouter({
|
|
'websocket': URLRouter(websocket_urlpatterns),
|
|
})
|