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-09-09 15:35:21 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-09 15:35:21 +0300
commit723ec25fb21a9b7924824c24a44bfa4f59d62493 (patch)
tree652f76dddc6bbe114e40c4b7f4d65b078a155513
parent7dc52e9a5378fd7f964fc7ee1a5627f484bdeb4a (diff)
renamed dest to target
-rw-r--r--web/assets/js/model/inbound.js8
-rw-r--r--web/html/form/reality_settings.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index ee9e74c0..aecedf75 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -729,7 +729,7 @@ class RealityStreamSettings extends XrayCommonClass {
constructor(
show = false,
xver = 0,
- dest = 'google.com:443',
+ target = 'google.com:443',
serverNames = 'google.com,www.google.com',
privateKey = '',
minClientVer = '',
@@ -742,7 +742,7 @@ class RealityStreamSettings extends XrayCommonClass {
super();
this.show = show;
this.xver = xver;
- this.dest = dest;
+ this.target = target;
this.serverNames = Array.isArray(serverNames) ? serverNames.join(",") : serverNames;
this.privateKey = privateKey;
this.minClientVer = minClientVer;
@@ -767,7 +767,7 @@ class RealityStreamSettings extends XrayCommonClass {
return new RealityStreamSettings(
json.show,
json.xver,
- json.dest,
+ json.target,
json.serverNames,
json.privateKey,
json.minClientVer,
@@ -783,7 +783,7 @@ class RealityStreamSettings extends XrayCommonClass {
return {
show: this.show,
xver: this.xver,
- dest: this.dest,
+ target: this.target,
serverNames: this.serverNames.split(","),
privateKey: this.privateKey,
minClientVer: this.minClientVer,
diff --git a/web/html/form/reality_settings.html b/web/html/form/reality_settings.html
index 79477270..8758dae1 100644
--- a/web/html/form/reality_settings.html
+++ b/web/html/form/reality_settings.html
@@ -12,8 +12,8 @@
<a-select-option v-for="key in UTLS_FINGERPRINT" :value="key">[[ key ]]</a-select-option>
</a-select>
</a-form-item>
- <a-form-item label='Dest (Target)'>
- <a-input v-model.trim="inbound.stream.reality.dest"></a-input>
+ <a-form-item label='Target'>
+ <a-input v-model.trim="inbound.stream.reality.target"></a-input>
</a-form-item>
<a-form-item label='SNI'>
<a-input v-model.trim="inbound.stream.reality.serverNames"></a-input>