Template
Release v1.6.0: multi-server 3x-ui with API inbounds.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
"""3x-ui HTTP API client — create VLESS clients and fetch share links.
|
||||
"""3x-ui HTTP API client - create VLESS clients and fetch share links.
|
||||
|
||||
Works with modern panels (/panel/api/clients/*) and falls back to legacy
|
||||
/panel/api/inbounds/addClient when needed.
|
||||
|
||||
@@ -60,7 +60,7 @@ def ensure_xui_servers(settings: dict) -> list:
|
||||
servers = [migrated]
|
||||
settings['xui_servers'] = servers
|
||||
|
||||
# Mirror primary into legacy sync.* for older code paths (no get_xui_server — avoids recursion)
|
||||
# Mirror primary into legacy sync.* for older code paths (no get_xui_server - avoids recursion)
|
||||
sync = settings.setdefault('sync', {})
|
||||
primary = None
|
||||
for s in servers:
|
||||
|
||||
Reference in New Issue
Block a user