All checks were successful
cloudmon GitOps Deploy / build-and-deploy (push) Successful in 24s
11 lines
439 B
Python
11 lines
439 B
Python
from django.urls import path
|
|
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
|
from monitor.views import DashboardView, ClusterGraphDataView
|
|
|
|
urlpatterns = [
|
|
path('', DashboardView.as_view(), name='dashboard'),
|
|
path('api/cluster-data/', ClusterGraphDataView.as_view(), name='cluster_data'),
|
|
]
|
|
|
|
# Erlaubt Django, die statischen JavaScript-Dateien im Container auszuliefern
|
|
urlpatterns += staticfiles_urlpatterns()
|