diff options
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/inbound.js | 16 | ||||
| -rw-r--r-- | web/html/form/reality_settings.html | 10 |
2 files changed, 12 insertions, 14 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js index 56c20b69..141a1fa4 100644 --- a/web/assets/js/model/inbound.js +++ b/web/assets/js/model/inbound.js @@ -728,8 +728,8 @@ class RealityStreamSettings extends XrayCommonClass { dest = 'yahoo.com:443', serverNames = 'yahoo.com,www.yahoo.com', privateKey = '', - minClient = '', - maxClient = '', + minClientVer = '', + maxClientVer = '', maxTimediff = 0, shortIds = RandomUtil.randomShortIds(), mldsa65Seed = '', @@ -741,8 +741,8 @@ class RealityStreamSettings extends XrayCommonClass { this.dest = dest; this.serverNames = Array.isArray(serverNames) ? serverNames.join(",") : serverNames; this.privateKey = privateKey; - this.minClient = minClient; - this.maxClient = maxClient; + this.minClientVer = minClientVer; + this.maxClientVer = maxClientVer; this.maxTimediff = maxTimediff; this.shortIds = Array.isArray(shortIds) ? shortIds.join(",") : shortIds; this.mldsa65Seed = mldsa65Seed; @@ -766,8 +766,8 @@ class RealityStreamSettings extends XrayCommonClass { json.dest, json.serverNames, json.privateKey, - json.minClient, - json.maxClient, + json.minClientVer, + json.maxClientVer, json.maxTimediff, json.shortIds, json.mldsa65Seed, @@ -782,8 +782,8 @@ class RealityStreamSettings extends XrayCommonClass { dest: this.dest, serverNames: this.serverNames.split(","), privateKey: this.privateKey, - minClient: this.minClient, - maxClient: this.maxClient, + minClientVer: this.minClientVer, + maxClientVer: this.maxClientVer, maxTimediff: this.maxTimediff, shortIds: this.shortIds.split(","), mldsa65Seed: this.mldsa65Seed, diff --git a/web/html/form/reality_settings.html b/web/html/form/reality_settings.html index aebb6c42..49c05ac0 100644 --- a/web/html/form/reality_settings.html +++ b/web/html/form/reality_settings.html @@ -21,14 +21,12 @@ <a-form-item label='Max Time Diff (ms)'> <a-input-number v-model.number="inbound.stream.reality.maxTimediff" :min="0"></a-input-number> </a-form-item> - <!-- we also have this but i think it's not necessary - <a-form-item label='Min Client'> - <a-input v-model.trim="inbound.stream.reality.minClient"></a-input> + <a-form-item label='Min Client Ver'> + <a-input v-model.trim="inbound.stream.reality.minClientVer"></a-input> </a-form-item> - <a-form-item label='Max Client'> - <a-input v-model.trim="inbound.stream.reality.maxClient"></a-input> + <a-form-item label='Max Client Ver'> + <a-input v-model.trim="inbound.stream.reality.maxClientVer"></a-input> </a-form-item> - --> <a-form-item> <template slot="label"> <a-tooltip> |
