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:
authorAlireza Ahmadi <alireza7@gmail.com>2023-12-08 21:03:26 +0300
committerAlireza Ahmadi <alireza7@gmail.com>2023-12-08 21:03:26 +0300
commitf2f066ac3b69c9fd9b084e651f62358fc0f861f3 (patch)
treeaa479641a27da080824783c2fdd87de892769145 /web/html/xui
parent1efbb29ba5ef91dba1bbf822d5f853d5a77d1b70 (diff)
multi path in tcp request header #1300
Diffstat (limited to 'web/html/xui')
-rw-r--r--web/html/xui/form/stream/stream_tcp.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/html/xui/form/stream/stream_tcp.html b/web/html/xui/form/stream/stream_tcp.html
index 3b601047..0560e92a 100644
--- a/web/html/xui/form/stream/stream_tcp.html
+++ b/web/html/xui/form/stream/stream_tcp.html
@@ -21,8 +21,13 @@
<a-input v-model.trim="inbound.stream.tcp.request.method"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestPath" }}'>
+ <a-button size="small" @click="inbound.stream.tcp.request.addPath('/')">+</a-button>
<a-row v-for="(path, index) in inbound.stream.tcp.request.path">
- <a-input v-model.trim="inbound.stream.tcp.request.path[index]"></a-input>
+ <a-input v-model.trim="inbound.stream.tcp.request.path[index]" style="width: 200px;">
+ <a-button size="small" slot="addonAfter"
+ @click="inbound.stream.tcp.request.removePath(index)"
+ v-if="inbound.stream.tcp.request.path.length>1">-</a-button>
+ </a-input>
</a-row>
</a-form-item>
<br>