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
path: root/web/html
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-29 18:17:44 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-29 18:17:44 +0300
commitc3ed8051f39339caccd08fecf817dbb5b08098d3 (patch)
tree6d7c9efa60aae32972f6cb9c497a05d3ee03a979 /web/html
parentd2cdc51c54315bed270599793cda79131253dc45 (diff)
[feature] add sniffing DestOverride options #298
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/form/sniffing.html5
-rw-r--r--web/html/xui/form/tls_settings.html2
2 files changed, 6 insertions, 1 deletions
diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html
index 6bfab7c1..4d184028 100644
--- a/web/html/xui/form/sniffing.html
+++ b/web/html/xui/form/sniffing.html
@@ -12,5 +12,10 @@
</span>
<a-switch v-model="inbound.sniffing.enabled"></a-switch>
</a-form-item>
+ <a-form-item>
+ <a-checkbox-group v-model="inbound.sniffing.destOverride" v-if="inbound.sniffing.enabled">
+ <a-checkbox v-for="key,value in SNIFFING_OPTION" :value="key">[[ value ]]</a-checkbox>
+ </a-checkbox-group>
+ </a-form-item>
</a-form>
{{end}} \ No newline at end of file
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index dcef3990..9cd03972 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -63,7 +63,7 @@
</a-form-item>
<a-form-item label="Alpn">
<a-checkbox-group v-model="inbound.stream.tls.alpn" style="width:200px">
- <a-checkbox v-for="key in ALPN_OPTION" :value="key">[[ key ]]</a-checkbox>
+ <a-checkbox v-for="key,value in ALPN_OPTION" :value="key">[[ value ]]</a-checkbox>
</a-checkbox-group>
</a-form-item>
<a-form-item label="Allow insecure">