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>2026-04-20 17:05:27 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2026-04-20 17:05:27 +0300
commitae5ad505d04fa347eb96a0d2bfb54ff541c3b709 (patch)
tree54a8088e98e15868238be54b063bb051ab84fcb0 /web/html/form/tls_settings.html
parentc188056f64be268dda8f7c16e23f7ef9c90d014f (diff)
add hysteria inbound
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/form/tls_settings.html')
-rw-r--r--web/html/form/tls_settings.html21
1 files changed, 12 insertions, 9 deletions
diff --git a/web/html/form/tls_settings.html b/web/html/form/tls_settings.html
index 2fe82388..2462e901 100644
--- a/web/html/form/tls_settings.html
+++ b/web/html/form/tls_settings.html
@@ -2,15 +2,18 @@
<!-- tls enable -->
<a-form v-if="inbound.canEnableTls()" :colon="false"
:label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-divider :style="{ margin: '3px 0' }"></a-divider>
- <a-form-item label='{{ i18n "security" }}'>
- <a-radio-group v-model="inbound.stream.security" button-style="solid">
- <a-radio-button value="none">{{ i18n "none" }}</a-radio-button>
- <a-radio-button v-if="inbound.canEnableReality()"
- value="reality">Reality</a-radio-button>
- <a-radio-button value="tls">TLS</a-radio-button>
- </a-radio-group>
- </a-form-item>
+ <template v-if="inbound.protocol !== Protocols.HYSTERIA">
+ <a-divider :style="{ margin: '3px 0' }"></a-divider>
+ <a-form-item label='{{ i18n "security" }}'>
+ <a-radio-group v-model="inbound.stream.security" button-style="solid">
+ <a-radio-button value="none">{{ i18n "none" }}</a-radio-button>
+ <a-radio-button v-if="inbound.canEnableReality()"
+ value="reality">Reality</a-radio-button>
+ <a-radio-button value="tls">TLS</a-radio-button>
+ </a-radio-group>
+ </a-form-item>
+ </template>
+ <template v-else><a-divider style="margin:0;">TLS</a-divider></template>
<!-- tls settings -->
<template v-if="inbound.stream.isTls">