fix: improve Reality compatibility for v2rayN/Xray clients
Add empty short_id, SpiderX in share links, and post-keygen render reminder so server config stays in sync with .env. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -67,6 +67,9 @@ if [[ -f "$ENV_FILE" ]]; then
|
||||
echo "PANEL_USERNAME=dekun" >> "$ENV_FILE"
|
||||
fi
|
||||
echo "已写入 $ENV_FILE"
|
||||
echo ""
|
||||
echo "重要: 密钥已变更,必须重新生成 sing-box 配置并重启:"
|
||||
echo " python3 ${ROOT_DIR}/scripts/render-server.py && systemctl restart sing-box"
|
||||
else
|
||||
echo "提示: 先复制 .env.example 为 .env 并填写 VPS_IP、DOMAIN 等,再重新运行本脚本" >&2
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user