diff --git a/src/main.rs b/src/main.rs index cf5fd00..37dafed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -100,7 +100,7 @@ async fn main() { // build our application with a route let app = Router::new() - .route("/", post(alerts)) + .route("/api/v2/alerts", post(alerts)) .with_state(state); let addr = SocketAddr::from(([127, 0, 0, 1], 9022));