diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-09 10:46:39 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-09 10:46:39 +0300 |
| commit | 58c721e7d20bb712af0d13dd2334c39fc10dbab0 (patch) | |
| tree | aa2b6706daa54301ff028a07d47ac2ed0c871eee /web/html/xui | |
| parent | b4baf35ed8a14b58f9db6dde6a33b36d6095bcc1 (diff) | |
quic removed
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/form/outbound.html | 27 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_quic.html | 33 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_settings.html | 6 | ||||
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 20 |
4 files changed, 1 insertions, 85 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 7dbd0313..081c6fd7 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -239,7 +239,6 @@ <a-select-option value="kcp">mKCP</a-select-option> <a-select-option value="ws">WebSocket</a-select-option> <a-select-option value="http">H2</a-select-option> - <a-select-option value="quic">QUIC</a-select-option> <a-select-option value="grpc">gRPC</a-select-option> <a-select-option value="httpupgrade">HTTPUpgrade</a-select-option> <a-select-option value="splithttp">SplitHTTP</a-select-option> @@ -317,31 +316,7 @@ <a-input v-model.trim="outbound.stream.http.path"></a-input> </a-form-item> </template> - - <!-- quic --> - <template v-if="outbound.stream.network === 'quic'"> - <a-form-item label='{{ i18n "pages.inbounds.stream.quic.encryption" }}'> - <a-select v-model="outbound.stream.quic.security" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option value="none">None</a-select-option> - <a-select-option value="aes-128-gcm">AES-128-GCM</a-select-option> - <a-select-option value="chacha20-poly1305">CHACHA20-POLY1305</a-select-option> - </a-select> - </a-form-item> - <a-form-item label='{{ i18n "password" }}'> - <a-input v-model.trim="outbound.stream.quic.key"></a-input> - </a-form-item> - <a-form-item label='{{ i18n "camouflage" }}'> - <a-select v-model="outbound.stream.quic.type" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option value="none">None</a-select-option> - <a-select-option value="srtp">SRTP</a-select-option> - <a-select-option value="utp">uTP</a-select-option> - <a-select-option value="wechat-video">WeChat</a-select-option> - <a-select-option value="dtls">DTLS 1.2</a-select-option> - <a-select-option value="wireguard">WireGuard</a-select-option> - </a-select> - </a-form-item> - </template> - + <!-- grpc --> <template v-if="outbound.stream.network === 'grpc'"> <a-form-item label='Service Name'> diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html deleted file mode 100644 index c7c5800a..00000000 --- a/web/html/xui/form/stream/stream_quic.html +++ /dev/null @@ -1,33 +0,0 @@ -{{define "form/streamQUIC"}} -<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }"> - <a-form-item label='{{ i18n "pages.inbounds.stream.quic.encryption" }}'> - <a-select v-model="inbound.stream.quic.security" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option value="none">None</a-select-option> - <a-select-option value="aes-128-gcm">AES-128-GCM</a-select-option> - <a-select-option value="chacha20-poly1305">CHACHA20-POLY1305</a-select-option> - </a-select> - </a-form-item> - <a-form-item> - <template slot="label"> - <a-tooltip> - <template slot="title"> - <span>{{ i18n "reset" }}</span> - </template> - {{ i18n "password" }} - <a-icon @click="inbound.stream.quic.key = RandomUtil.randomSeq(10)"type="sync"> </a-icon> - </a-tooltip> - </template> - <a-input v-model.trim="inbound.stream.quic.key"></a-input> - </a-form-item> - <a-form-item label='{{ i18n "camouflage" }}'> - <a-select v-model="inbound.stream.quic.type" style="width: 50%" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option value="none">None</a-select-option> - <a-select-option value="srtp">SRTP</a-select-option> - <a-select-option value="utp">uTP</a-select-option> - <a-select-option value="wechat-video">WeChat</a-select-option> - <a-select-option value="dtls">DTLS 1.2</a-select-option> - <a-select-option value="wireguard">WireGuard</a-select-option> - </a-select> - </a-form-item> -</a-form> -{{end}} diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html index f6fe6f23..debc38de 100644 --- a/web/html/xui/form/stream/stream_settings.html +++ b/web/html/xui/form/stream/stream_settings.html @@ -8,7 +8,6 @@ <a-select-option value="kcp">mKCP</a-select-option> <a-select-option value="ws">WebSocket</a-select-option> <a-select-option value="http">H2</a-select-option> - <a-select-option value="quic">QUIC</a-select-option> <a-select-option value="grpc">gRPC</a-select-option> <a-select-option value="httpupgrade">HTTPUpgrade</a-select-option> <a-select-option value="splithttp">SplitHTTP</a-select-option> @@ -36,11 +35,6 @@ {{template "form/streamHTTP"}} </template> -<!-- quic --> -<template v-if="inbound.stream.network === 'quic'"> - {{template "form/streamQUIC"}} -</template> - <!-- grpc --> <template v-if="inbound.stream.network === 'grpc'"> {{template "form/streamGRPC"}} diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index e5dbda42..51efa308 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -58,26 +58,6 @@ </td> </tr> </template> - <template v-if="inbound.isQuic"> - <tr> - <td>quic {{ i18n "encryption" }}</td> - <td> - <a-tag>[[ inbound.quicSecurity ]]</a-tag> - </td> - </tr> - <tr> - <td>quic {{ i18n "password" }}</td> - <td> - <a-tag>[[ inbound.quicKey ]]</a-tag> - </td> - </tr> - <tr> - <td>quic {{ i18n "camouflage" }}</td> - <td> - <a-tag>[[ inbound.quicType ]]</a-tag> - </td> - </tr> - </template> <template v-if="inbound.isKcp"> <tr> <td>kcp {{ i18n "encryption" }}</td> |
