stupid mistake

This commit is contained in:
MHSanaei 2023-02-12 17:54:02 +03:30
parent 6d28c39ae8
commit ef656f7c3e

View File

@ -6,14 +6,14 @@
</a-form-item>
<a-form-item label="HTTP Camouflage">
<a-switch
:checked="inbound.stream.tcp.type === 'HTTP'"
@change="checked => inbound.stream.tcp.type = checked ? 'HTTP' : 'none'">
:checked="inbound.stream.tcp.type === 'http'"
@change="checked => inbound.stream.tcp.type = checked ? 'http' : 'none'">
</a-switch>
</a-form-item>
</a-form>
<!-- tcp request -->
<a-form v-if="inbound.stream.tcp.type === 'HTTP'"
<a-form v-if="inbound.stream.tcp.type === 'http'"
layout="inline">
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.requestVersion" }}'>
<a-input v-model.trim="inbound.stream.tcp.request.version"></a-input>
@ -50,7 +50,7 @@
</a-form>
<!-- tcp response -->
<a-form v-if="inbound.stream.tcp.type === 'HTTP'"
<a-form v-if="inbound.stream.tcp.type === 'http'"
layout="inline">
<a-form-item label='{{ i18n "pages.inbounds.stream.tcp.responseVersion" }}'>
<a-input v-model.trim="inbound.stream.tcp.response.version"></a-input>