refactor: remove VLESS/Xray, Hy2-only stack
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,14 +43,8 @@ def load_nodes(db_path: Path) -> list[dict]:
|
||||
|
||||
|
||||
def build_config(env: dict[str, str], nodes: list[dict]) -> dict:
|
||||
required = [
|
||||
"REALITY_SHORT_ID",
|
||||
"REALITY_SERVER_NAME",
|
||||
"DOMAIN",
|
||||
]
|
||||
for key in required:
|
||||
if not env.get(key):
|
||||
raise SystemExit(f".env 缺少 {key}")
|
||||
if not env.get("DOMAIN"):
|
||||
raise SystemExit(".env 缺少 DOMAIN")
|
||||
|
||||
hy2_base_port = 8443
|
||||
|
||||
|
||||
Reference in New Issue
Block a user