Release v1.6.0: multi-server 3x-ui with API inbounds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohi
2026-07-26 07:39:06 +03:00
co-authored by Cursor
parent 3e8898ac9c
commit f91ccf1013
13 changed files with 1523 additions and 89 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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: