mhsanaei před 3 dny
rodič
revize
521870df0a

+ 3 - 3
web/html/xui/form/allocate.html

@@ -1,15 +1,15 @@
 {{define "form/allocate"}}
 <a-divider style="margin:5px 0 0;">Allocate</a-divider>
 <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
-    <a-form-item label='strategy'>
+    <a-form-item label='Strategy'>
       <a-select v-model="inbound.allocate.strategy" :dropdown-class-name="themeSwitcher.currentTheme">
         <a-select-option v-for="s in ['always','random']" :value="s">[[ s ]]</a-select-option>
       </a-select>
     </a-form-item>
-    <a-form-item label='refresh'>
+    <a-form-item label='Refresh'>
       <a-input-number v-model.number="inbound.allocate.refresh" min="0"></a-input-number>
     </a-form-item>
-    <a-form-item label='concurrency'>
+    <a-form-item label='Concurrency'>
       <a-input-number v-model.number="inbound.allocate.concurrency" min="0"></a-input-number>
     </a-form-item>
 </a-form>

+ 1 - 1
web/html/xui/form/sniffing.html

@@ -3,7 +3,7 @@
 <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
   <a-form-item>
     <span slot="label">
-        Sniffing
+      {{ i18n "enabled" }}
         <a-tooltip>
             <template slot="title">
                 <span>{{ i18n "pages.inbounds.noRecommendKeepDefault" }}</span>

+ 1 - 1
web/html/xui/inbounds.html

@@ -733,7 +733,7 @@
                     this.inbounds.push(to_inbound);
                     this.dbInbounds.push(dbInbound);
                     if ([Protocols.VMESS, Protocols.VLESS, Protocols.TROJAN, Protocols.SHADOWSOCKS].includes(inbound.protocol)) {
-                        if (inbound.protocol === Protocols.SHADOWSOCKS && (!to_inbound.isSSMultiUser)) {
+                        if (dbInbound.isSS && (!to_inbound.isSSMultiUser)) {
                             continue;
                         }
                         this.clientCount[inbound.id] = this.getClientCounts(inbound, to_inbound);