From cedc7f0fb8b30009a9526053be3dc3857af8bdcb Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Sun, 9 Mar 2025 06:37:05 +0000 Subject: chore: refactoring `RandomUtil` class now we use window.crypto.getRandomValues to generate random values. --- web/html/xui/inbounds.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html') diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 677a3074..fe5d7e3a 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -927,7 +927,7 @@ expiryTime: dbInbound.expiryTime, listen: '', - port: RandomUtil.randomIntRange(10000, 60000), + port: RandomUtil.randomInteger(10000, 60000), protocol: baseInbound.protocol, settings: Inbound.Settings.getSettings(baseInbound.protocol).toString(), streamSettings: baseInbound.stream.toString(), -- cgit v1.2.3