Browse Source

stupid mistake

MHSanaei 2 years ago
parent
commit
ef656f7c3e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      web/html/xui/form/stream/stream_tcp.html

+ 4 - 4
web/html/xui/form/stream/stream_tcp.html

@@ -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>