diff --git a/src/main.rs b/src/main.rs index 813d83e..72acf3d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,6 +97,7 @@ async fn main() { // build our application with a route let app = Router::new() .route("/alert", post(prometheus_alerts)) + .route("/api/v2/alerts", post(prometheus_alerts)) .route("/notify", get(apprise_ok).post(apprise_notification)) .with_state(jabber);