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:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-08-28 11:15:04 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-08-28 11:15:04 +0300
commit0c7b59ed47eaa2f786eedd584d9e4192964931f3 (patch)
tree6729ad8502c390717cc0f86cf13dfc9ca3e6208b /web/assets/js
parent3087c1b123f426b7c1306ab634fb84e7943e4217 (diff)
removed: Allocate
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/inbound.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index 33aa24e0..c91dbd11 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -1042,27 +1042,6 @@ class Sniffing extends XrayCommonClass {
}
}
-class Allocate extends XrayCommonClass {
- constructor(
- strategy = "always",
- refresh = 5,
- concurrency = 3,
- ) {
- super();
- this.strategy = strategy;
- this.refresh = refresh;
- this.concurrency = concurrency;
- }
-
- static fromJson(json = {}) {
- return new Allocate(
- json.strategy,
- json.refresh,
- json.concurrency,
- );
- }
-}
-
class Inbound extends XrayCommonClass {
constructor(
port = RandomUtil.randomInteger(10000, 60000),
@@ -1072,7 +1051,6 @@ class Inbound extends XrayCommonClass {
streamSettings = new StreamSettings(),
tag = '',
sniffing = new Sniffing(),
- allocate = new Allocate(),
clientStats = '',
) {
super();
@@ -1083,7 +1061,6 @@ class Inbound extends XrayCommonClass {
this.stream = streamSettings;
this.tag = tag;
this.sniffing = sniffing;
- this.allocate = allocate;
this.clientStats = clientStats;
}
getClientStats() {
@@ -1248,7 +1225,6 @@ class Inbound extends XrayCommonClass {
this.stream = new StreamSettings();
this.tag = '';
this.sniffing = new Sniffing();
- this.allocate = new Allocate();
}
genVmessLink(address = '', port = this.port, forceTls, remark = '', clientId, security) {
@@ -1703,7 +1679,6 @@ class Inbound extends XrayCommonClass {
StreamSettings.fromJson(json.streamSettings),
json.tag,
Sniffing.fromJson(json.sniffing),
- Allocate.fromJson(json.allocate),
json.clientStats
)
}
@@ -1721,7 +1696,6 @@ class Inbound extends XrayCommonClass {
streamSettings: streamSettings,
tag: this.tag,
sniffing: this.sniffing.toJson(),
- allocate: this.allocate.toJson(),
clientStats: this.clientStats
};
}