jumpserver/apps/terminal/urls/ws_urls.py

11 lines
280 B
Python

from django.urls import path
from .. import ws
app_name = 'terminal'
urlpatterns = [
path('ws/terminal-task/', ws.TerminalTaskWebsocket.as_asgi(), name='terminal-task-ws'),
path('ws/component-log-tail/', ws.LokiTailWebsocket.as_asgi(), name='component-log-tail-ws'),
]