This commit is contained in:
Eugene Pankov
2021-06-14 23:00:05 +02:00
parent dc69574c07
commit e1425c6c80
32 changed files with 1502 additions and 422 deletions

View File

@@ -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)),
]