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>2024-12-04 15:27:29 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-12-04 15:49:43 +0300
commit4efcdb3e01357ad67119f42ff9b1830e3b0fe4f1 (patch)
treebd4d1e67c06c386469ed99849ebe887ac03e2c24 /web/html/xui/form/stream
parentddc2cfacb92f0ec31f8325519c4078682bb2e42e (diff)
Transport: Remove HTTP
Migrated to XHTTP "stream-one" mode.
Diffstat (limited to 'web/html/xui/form/stream')
-rw-r--r--web/html/xui/form/stream/stream_http.html17
-rw-r--r--web/html/xui/form/stream/stream_settings.html6
2 files changed, 0 insertions, 23 deletions
diff --git a/web/html/xui/form/stream/stream_http.html b/web/html/xui/form/stream/stream_http.html
deleted file mode 100644
index b562c112..00000000
--- a/web/html/xui/form/stream/stream_http.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{{define "form/streamHTTP"}}
-<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label='{{ i18n "path" }}'>
- <a-input v-model.trim="inbound.stream.http.path"></a-input>
- </a-form-item>
- <a-form-item>
- <template slot="label">{{ i18n "host" }}
- <a-button icon="plus" size="small" @click="inbound.stream.http.addHost()"></a-button>
- </template>
- <template v-for="(host, index) in inbound.stream.http.host">
- <a-input v-model.trim="inbound.stream.http.host[index]">
- <a-button icon="minus" size="small" slot="addonAfter" @click="inbound.stream.http.removeHost(index)" v-if="inbound.stream.http.host.length>1"></a-button>
- </a-input>
- </template>
- </a-form-item>
-</a-form>
-{{end}} \ No newline at end of file
diff --git a/web/html/xui/form/stream/stream_settings.html b/web/html/xui/form/stream/stream_settings.html
index cab4e727..a3119d9c 100644
--- a/web/html/xui/form/stream/stream_settings.html
+++ b/web/html/xui/form/stream/stream_settings.html
@@ -7,7 +7,6 @@
<a-select-option value="tcp">TCP (RAW)</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="http">HTTP</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="xhttp">XHTTP</a-select-option>
@@ -30,11 +29,6 @@
{{template "form/streamWS"}}
</template>
-<!-- http -->
-<template v-if="inbound.stream.network === 'http'">
- {{template "form/streamHTTP"}}
-</template>
-
<!-- grpc -->
<template v-if="inbound.stream.network === 'grpc'">
{{template "form/streamGRPC"}}