mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
change name H2 to HTTP
because we also have h3 on it
This commit is contained in:
parent
f0dd6152fd
commit
19a832cad8
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ config_after_install() {
|
||||||
|
|
||||||
local existing_webBasePath=$(/usr/local/x-ui/x-ui setting -show true | grep -Eo 'webBasePath: .+' | awk '{print $2}')
|
local existing_webBasePath=$(/usr/local/x-ui/x-ui setting -show true | grep -Eo 'webBasePath: .+' | awk '{print $2}')
|
||||||
|
|
||||||
if [[ ${#existing_webBasePath} -lt 3 ]]; then
|
if [[ ${#existing_webBasePath} -lt 4 ]]; then
|
||||||
echo -e "${yellow}WebBasePath is empty, generating a random one...${plain}"
|
echo -e "${yellow}WebBasePath is empty, generating a random one...${plain}"
|
||||||
|
|
||||||
/usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}"
|
/usr/local/x-ui/x-ui setting -webBasePath "${config_webBasePath}"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<a-select-option value="tcp">TCP (RAW)</a-select-option>
|
<a-select-option value="tcp">TCP (RAW)</a-select-option>
|
||||||
<a-select-option value="kcp">mKCP</a-select-option>
|
<a-select-option value="kcp">mKCP</a-select-option>
|
||||||
<a-select-option value="ws">WebSocket</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="http">HTTP</a-select-option>
|
||||||
<a-select-option value="grpc">gRPC</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="httpupgrade">HTTPUpgrade</a-select-option>
|
||||||
<a-select-option value="splithttp">SplitHTTP</a-select-option>
|
<a-select-option value="splithttp">SplitHTTP</a-select-option>
|
||||||
|
|
Loading…
Reference in a new issue