From 8f13c1231af6c5d58ff4d27cdff188a990671384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=92=8B=E5=B0=8F=E9=99=8C?= Date: Sun, 13 Oct 2024 16:26:32 +0800 Subject: [PATCH] 111 --- index.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.sh b/index.sh index eadd443..d2d7272 100644 --- a/index.sh +++ b/index.sh @@ -40,7 +40,7 @@ curl -o $FILE https://x-mo.cn:9009/XiaoMo/alist-proxy/raw/branch/master/index.js if [ $? -eq 0 ]; then echo "下载完成,正在执行 $FILE..." - PORT=$PORT node $FILE # 传递端口作为环境变量 + node $FILE port=$PORT # 传递端口作为参数 else echo "下载失败" -fi +fi \ No newline at end of file