diff options
Diffstat (limited to 'web/assets/js/model')
| -rw-r--r-- | web/assets/js/model/inbound.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 5c3235e1..2a5fb6d6 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -1050,7 +1050,7 @@ class Allocate extends XrayCommonClass { class Inbound extends XrayCommonClass { constructor( - port = RandomUtil.randomIntRange(10000, 60000), + port = RandomUtil.randomInteger(10000, 60000), listen = '', protocol = Protocols.VLESS, settings = null, @@ -1226,7 +1226,7 @@ class Inbound extends XrayCommonClass { } reset() { - this.port = RandomUtil.randomIntRange(10000, 60000); + this.port = RandomUtil.randomInteger(10000, 60000); this.listen = ''; this.protocol = Protocols.VMESS; this.settings = Inbound.Settings.getSettings(Protocols.VMESS); |
