|
|
@ -49,6 +49,7 @@ channel_urls = [ |
|
|
|
path("add_matrix/", views.add_matrix, name="hc-add-matrix"), |
|
|
|
path("add_apprise/", views.add_apprise, name="hc-add-apprise"), |
|
|
|
path("add_msteams/", views.add_msteams, name="hc-add-msteams"), |
|
|
|
path("add_prometheus/", views.add_prometheus, name="hc-add-prometheus"), |
|
|
|
path("<uuid:code>/checks/", views.channel_checks, name="hc-channel-checks"), |
|
|
|
path("<uuid:code>/name/", views.update_channel_name, name="hc-channel-name"), |
|
|
|
path("<uuid:code>/test/", views.send_test_notification, name="hc-channel-test"), |
|
|
@ -70,11 +71,8 @@ urlpatterns = [ |
|
|
|
path("projects/<uuid:code>/checks/add/", views.add_check, name="hc-add-check"), |
|
|
|
path("checks/cron_preview/", views.cron_preview), |
|
|
|
path("projects/<uuid:code>/checks/status/", views.status, name="hc-status"), |
|
|
|
path( |
|
|
|
"projects/<uuid:code>/checks/metrics/<slug:key>", |
|
|
|
views.metrics, |
|
|
|
name="hc-metrics", |
|
|
|
), |
|
|
|
path("projects/<uuid:code>/checks/metrics/<slug:key>", views.metrics,), |
|
|
|
path("projects/<uuid:code>/metrics/<slug:key>", views.metrics, name="hc-metrics",), |
|
|
|
path("checks/<uuid:code>/", include(check_urls)), |
|
|
|
path("integrations/", include(channel_urls)), |
|
|
|
path("docs/", views.serve_doc, name="hc-docs"), |
|
|
|