diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-04-01 15:32:02 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-04-01 15:32:02 +0300 |
| commit | 4e20bb5f02c4aef31c9026458984825e820414ba (patch) | |
| tree | 2229b2c5ce10742631b39efa4f6c1099c6d1f74f /web/html | |
| parent | 44b7eb881cb2ff2142f3566913c1e70ee8106556 (diff) | |
Add host for WS
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/stream/stream_httpupgrade.html | 6 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_ws.html | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/web/html/xui/form/stream/stream_httpupgrade.html b/web/html/xui/form/stream/stream_httpupgrade.html index 15c02aeb..31897804 100644 --- a/web/html/xui/form/stream/stream_httpupgrade.html +++ b/web/html/xui/form/stream/stream_httpupgrade.html @@ -3,11 +3,11 @@ <a-form-item label="PROXY Protocol"> <a-switch v-model="inbound.stream.httpupgrade.acceptProxyProtocol"></a-switch> </a-form-item> - <a-form-item label='{{ i18n "path" }}'> - <a-input v-model.trim="inbound.stream.httpupgrade.path"></a-input> - </a-form-item> <a-form-item label='{{ i18n "host" }}'> <a-input v-model.trim="inbound.stream.httpupgrade.host"></a-input> </a-form-item> + <a-form-item label='{{ i18n "path" }}'> + <a-input v-model.trim="inbound.stream.httpupgrade.path"></a-input> + </a-form-item> </a-form> {{end}} diff --git a/web/html/xui/form/stream/stream_ws.html b/web/html/xui/form/stream/stream_ws.html index 62380e94..44ebca8d 100644 --- a/web/html/xui/form/stream/stream_ws.html +++ b/web/html/xui/form/stream/stream_ws.html @@ -3,6 +3,9 @@ <a-form-item label="PROXY Protocol"> <a-switch v-model="inbound.stream.ws.acceptProxyProtocol"></a-switch> </a-form-item> + <a-form-item label='{{ i18n "host" }}'> + <a-input v-model.trim="inbound.stream.ws.host"></a-input> + </a-form-item> <a-form-item label='{{ i18n "path" }}'> <a-input v-model.trim="inbound.stream.ws.path"></a-input> </a-form-item> |
