From a6000833b25dfc8593a1b577710253d9276c00b4 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 20 Jul 2024 12:10:32 -0400 Subject: [PATCH] wip --- src/main.rs | 2 +- test_webhook.bash | 46 ++++++++++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/src/main.rs b/src/main.rs index 152bbcf..2d6502f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ async fn main() -> Result<(), Box> { TimeoutLayer::new(Duration::from_secs(600)), )); - let listener = tokio::net::TcpListener::bind("0.0.0.0:8080").await?; + let listener = tokio::net::TcpListener::bind("0.0.0.0:9988").await?; tracing::info!("listening on {}", listener.local_addr().unwrap()); axum::serve(listener, app) .with_graceful_shutdown(shutdown_signal()) diff --git a/test_webhook.bash b/test_webhook.bash index 9c89f06..fcff6da 100755 --- a/test_webhook.bash +++ b/test_webhook.bash @@ -9,14 +9,14 @@ function main() { payload=$(cat <