mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
345 B
17 lines
345 B
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
from rest_framework import routers
|
|
|
|
from .. import api
|
|
|
|
app_name = 'terminal'
|
|
|
|
router = routers.DefaultRouter()
|
|
router.register(r'v1/terminal/heatbeat', api.TerminalHeatbeatViewSet, 'terminal-heatbeat')
|
|
router.register(r'v1/terminal', api.TerminalViewSet, 'terminal')
|
|
|
|
urlpatterns = router.urls
|
|
|