spug/spug_api/consumer/routing.py
2019-12-12 11:39:35 +08:00

8 lines
186 B
Python

from django.urls import path
from .consumers import *
websocket_urlpatterns = [
path('ws/exec/<str:token>/', ExecConsumer),
path('ws/ssh/<str:token>/<int:id>/', SSHConsumer),
]