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
+2 -1
View File
@@ -73,7 +73,8 @@ def build_config(env: dict[str, str], nodes: list[dict]) -> dict:
"server_port": 443,
},
"private_key": env["REALITY_PRIVATE_KEY"],
"short_id": [env["REALITY_SHORT_ID"]],
"short_id": ["", env["REALITY_SHORT_ID"]],
"max_time_difference": "1m",
},
},
},