mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-18 23:36:05 +01:00
wip
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework import routers
|
||||
|
||||
from . import api
|
||||
from . import consumers
|
||||
from . import views
|
||||
|
||||
|
||||
router = routers.DefaultRouter(trailing_slash=False)
|
||||
# router.register('api/2/auth/saml', SAMLProviderViewSet)
|
||||
router.register('api/1/configs', api.ConfigViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.IndexView.as_view()),
|
||||
path('terminal', views.TerminalView.as_view()),
|
||||
path('app-dist/<path:path>', views.AppDistView.as_view()),
|
||||
path('dist/<path:path>', views.DistView.as_view()),
|
||||
path('build/<path:path>', views.BuildView.as_view()),
|
||||
path('', include(router.urls)),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user