From 9e76976a564db8e4f61466851653cac6cccf1f93 Mon Sep 17 00:00:00 2001 From: Milky0217 Date: Tue, 21 Oct 2025 09:28:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 4 ++-- src/main.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 8958c8c..91be69c 100755 --- a/deploy.sh +++ b/deploy.sh @@ -15,8 +15,8 @@ fi # 编译项目(如果需要) echo "正在编译项目..." -#cargo build --release --target x86_64-unknown-linux-gnu -cargo build +cargo build --release --target x86_64-unknown-linux-gnu +#cargo build # 上传文件 echo "正在上传文件..." diff --git a/src/main.rs b/src/main.rs index b67e2c9..9cee7f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -648,7 +648,7 @@ async fn main() -> std::io::Result<()> { info!("Attempting to start server..."); // 尝试多个端口 - let ports = vec![443, 8443, 8080, 3000, 8000, 8888]; + let ports = vec![4433, 8443, 8080, 3000, 8000, 8888]; let mut server: Option< Pin> + Unpin>>, > = None;