add header for httpupgrade

This commit is contained in:
mhsanaei
2024-04-02 23:41:06 +03:30
parent fa7a6a3f99
commit c147636133
6 changed files with 133 additions and 50 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
<a-input v-model.trim="inbound.stream.ws.path"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestHeader" }}'>
<a-button size="small" @click="inbound.stream.ws.addHeader('Host', '')">+</a-button>
<a-button size="small" @click="inbound.stream.ws.addHeader('host', '')">+</a-button>
</a-form-item>
<a-form-item :wrapper-col="{span:24}">
<a-input-group compact v-for="(header, index) in inbound.stream.ws.headers">