# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug # Copyright: (c) # Released under the AGPL-3.0 License. from django.urls import path from channels.routing import URLRouter from consumer.middleware import AuthMiddleware from consumer.consumers import * ws_router = AuthMiddleware( URLRouter([ path('ws/exec//', ExecConsumer), path('ws/ssh//', SSHConsumer), path('ws///', ComConsumer), path('ws/notify/', NotifyConsumer), ]) )