diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index 2bce6a83..4526ef1a 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1215,7 +1215,7 @@ Inbound.VLESSSettings = class extends Inbound.Settings { }; Inbound.VLESSSettings.VLESS = class extends XrayCommonClass { - constructor(id=RandomUtil.randomUUID(), flow=FLOW_CONTROL.DIRECT, email='', limitIp) { + constructor(id=RandomUtil.randomUUID(), flow=FLOW_CONTROL.DIRECT, email='', limitIp=0) { super(); this.id = id; this.flow = flow;