diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index ecdf9e27..2bce6a83 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1215,16 +1215,20 @@ Inbound.VLESSSettings = class extends Inbound.Settings { }; Inbound.VLESSSettings.VLESS = class extends XrayCommonClass { - constructor(id=RandomUtil.randomUUID(), flow=FLOW_CONTROL.DIRECT) { + constructor(id=RandomUtil.randomUUID(), flow=FLOW_CONTROL.DIRECT, email='', limitIp) { super(); this.id = id; this.flow = flow; + this.email = email; + this.limitIp = limitIp; } static fromJson(json={}) { return new Inbound.VLESSSettings.VLESS( json.id, json.flow, + json.email, + json.limitIp ); } }; diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index 3e5a3a38..f02a4a8c 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -1,5 +1,39 @@ {{define "form/vless"}} + + + + + + + IP Count Limit + + + + + + + + + + + client IP log + + + + + + + + + + clear log + +