This commit is contained in:
Eugene Pankov
2021-06-12 13:05:35 +02:00
parent 04ddd11dfc
commit dc69574c07
27 changed files with 1162 additions and 81 deletions

19
terminus/app/urls.py Normal file
View File

@@ -0,0 +1,19 @@
from django.urls import path, include
from rest_framework import routers
from . import consumers
from . import views
router = routers.DefaultRouter(trailing_slash=False)
# router.register('api/2/auth/saml', SAMLProviderViewSet)
urlpatterns = [
path('', views.IndexView.as_view()),
path('app-dist/<path:path>', views.AppDistView.as_view()),
path('dist/<path:path>', views.DistView.as_view()),
path('', include(router.urls)),
]
websocket_urlpatterns = [
path('api/1/gateway/tcp', consumers.TCPConsumer.as_asgi()),
]