Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-09 09:37:05 +0300
committerShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-03-09 09:37:05 +0300
commitcedc7f0fb8b30009a9526053be3dc3857af8bdcb (patch)
tree83cbdbdfd314b0c313682e074966d1fac265eb15 /web/html/xui/inbounds.html
parent64fa0e97a30eb8f21b37f358b6382abcb4e4d9f2 (diff)
chore: refactoring `RandomUtil` class
now we use window.crypto.getRandomValues to generate random values.
Diffstat (limited to 'web/html/xui/inbounds.html')
-rw-r--r--web/html/xui/inbounds.html2
1 files changed, 1 insertions, 1 deletions
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(),