mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 01:45:27 +00:00
Finish form ajax submmit
This commit is contained in:
@@ -5,10 +5,12 @@ from .. import api
|
||||
|
||||
app_name = 'audits'
|
||||
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router.register(r'v1/proxy-log/', api.ProxyLogViewSet, 'proxy-log')
|
||||
router.register(r'v1/command-log/', api.CommandLogViewSet, 'command-log')
|
||||
router.register(r'v1/proxy-log', api.ProxyLogViewSet, 'proxy-log')
|
||||
router.register(r'v1/command-log', api.CommandLogViewSet, 'command-log')
|
||||
|
||||
urlpatterns = router.urls
|
||||
urlpatterns = [
|
||||
url(r'^v1/proxy-log/receive/$', api.ProxyLogReceiveView.as_view(), name='proxy-log-receive'),
|
||||
]
|
||||
|
||||
urlpatterns += router.urls
|
||||
|
Reference in New Issue
Block a user