improve code for global.rs

This commit is contained in:
houseme
2025-04-22 22:59:31 +08:00
parent 6d1a4ab824
commit 52a1f9b8a7
7 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ async fn main() {
// 构建应用
let app = Router::new().route("/webhook", post(receive_webhook));
// 启动服务器
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
println!("Server running on http://0.0.0.0:3000");
let listener = tokio::net::TcpListener::bind("0.0.0.0:3020").await.unwrap();
println!("Server running on http://0.0.0.0:3020");
// 创建关闭信号处理
tokio::select! {