diff options
Diffstat (limited to 'web/html')
| -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 | ||||
| -rw-r--r-- | web/html/xui/inbound_info_modal.html | 2 |
4 files changed, 1 insertions, 35 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"}} diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html index c7e05f88..7796cf1e 100644 --- a/web/html/xui/inbound_info_modal.html +++ b/web/html/xui/inbound_info_modal.html @@ -34,7 +34,7 @@ <a-tag color="green">[[ inbound.network ]]</a-tag> </td> </tr> - <template v-if="inbound.isTcp || inbound.isWs || inbound.isH2 || inbound.isHttpupgrade || inbound.isXHTTP"> + <template v-if="inbound.isTcp || inbound.isWs || inbound.isHttpupgrade || inbound.isXHTTP"> <tr> <td>{{ i18n "host" }}</td> <td v-if="inbound.host"> |
