spug/spug_api/consumer/routing.py

8 lines
186 B
Python
Raw Normal View History

2019-11-24 09:05:58 +00:00
from django.urls import path
from .consumers import *
websocket_urlpatterns = [
path('ws/exec/<str:token>/', ExecConsumer),
2019-12-12 03:39:35 +00:00
path('ws/ssh/<str:token>/<int:id>/', SSHConsumer),
2019-11-24 09:05:58 +00:00
]