mirror of
https://github.com/Eugeny/tabby-web.git
synced 2025-08-23 17:51:51 +00:00
wip
This commit is contained in:
19
terminus/app/urls.py
Normal file
19
terminus/app/urls.py
Normal 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()),
|
||||
]
|
Reference in New Issue
Block a user