change route

This commit is contained in:
Astro 2022-12-17 00:47:05 +01:00
parent 30bf95c80a
commit 0d1eadc34c
1 changed files with 1 additions and 1 deletions

View File

@ -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));