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:
@@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user