spug/spug_api/consumer/routing.py

11 lines
336 B
Python
Raw Normal View History

2020-01-15 12:48:22 +00:00
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <spug.dev@gmail.com>
2020-06-14 10:30:52 +00:00
# Released under the AGPL-3.0 License.
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
]