spug/spug_api/apps/host/urls.py

13 lines
321 B
Python

# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <spug.dev@gmail.com>
# Released under the MIT License.
from django.urls import path
from .views import *
urlpatterns = [
path('', HostView.as_view()),
path('import/', post_import),
path('ssh/<int:h_id>/', web_ssh),
]