Include allocated WireGuard allowedIPs in create result flash
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -270,6 +270,7 @@ async def xui_add_client(
|
|||||||
"flow": result.get("flow"),
|
"flow": result.get("flow"),
|
||||||
"privateKey": result.get("privateKey"),
|
"privateKey": result.get("privateKey"),
|
||||||
"publicKey": result.get("publicKey"),
|
"publicKey": result.get("publicKey"),
|
||||||
|
"allowedIPs": result.get("allowedIPs") or [],
|
||||||
"links": result.get("links") or [],
|
"links": result.get("links") or [],
|
||||||
"inbound": result.get("inbound"),
|
"inbound": result.get("inbound"),
|
||||||
"expiry_days": result.get("expiry_days"),
|
"expiry_days": result.get("expiry_days"),
|
||||||
|
|||||||
Reference in New Issue
Block a user