diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-12-04 15:27:29 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-12-04 15:49:43 +0300 |
| commit | 4efcdb3e01357ad67119f42ff9b1830e3b0fe4f1 (patch) | |
| tree | bd4d1e67c06c386469ed99849ebe887ac03e2c24 /web/html/xui/form | |
| parent | ddc2cfacb92f0ec31f8325519c4078682bb2e42e (diff) | |
Transport: Remove HTTP
Migrated to XHTTP "stream-one" mode.
Diffstat (limited to 'web/html/xui/form')
| -rw-r--r-- | web/html/xui/form/outbound.html | 11 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_http.html | 17 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_settings.html | 6 |
3 files changed, 0 insertions, 34 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index e6d12ee4..fb9e6f41 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -270,7 +270,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> @@ -341,16 +340,6 @@ <a-input-number v-model.number="outbound.stream.ws.heartbeatPeriod" :min="0"></a-input-number> </a-form-item> </template> - - <!-- http --> - <template v-if="outbound.stream.network === 'http'"> - <a-form-item label='{{ i18n "host" }}'> - <a-input v-model.trim="outbound.stream.http.host"></a-input> - </a-form-item> - <a-form-item label='{{ i18n "path" }}'> - <a-input v-model.trim="outbound.stream.http.path"></a-input> - </a-form-item> - </template> <!-- grpc --> <template v-if="outbound.stream.network === 'grpc'"> 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"}} |
