mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-13 21:43:03 +00:00
renamed dest to target
This commit is contained in:
parent
7dc52e9a53
commit
723ec25fb2
2 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue