fix: align PORT defaults to 8080 for Railway

This commit is contained in:
tinkle-community
2026-01-06 18:53:27 +08:00
parent aee096ab1e
commit c8458ec79c
2 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e
# 默认端口
export PORT=${PORT:-3000}
# 默认端口Railway 会设置 PORT=8080
export PORT=${PORT:-8080}
echo "🚀 Starting NOFX on port $PORT..."
# 生成加密密钥(如果没有设置)