refactor: remove VLESS/Xray, Hy2-only stack

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-28 00:26:18 +08:00
parent c2c8ae826d
commit 6a42f58f5b
27 changed files with 159 additions and 1322 deletions
+2 -8
View File
@@ -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