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:
dekun
2026-06-16 11:49:53 +08:00
parent abbaac9520
commit 5685b869dc
5 changed files with 9 additions and 4 deletions
+3
View File
@@ -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