This commit is contained in:
蒋小陌 2024-10-13 16:26:32 +08:00
parent eb911d0654
commit 8f13c1231a

View File

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