Sfoglia il codice sorgente

fix(frontend): show zero client count for mtproto and wireguard inbounds

MHSanaei 8 ore fa
parent
commit
476bec451d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      frontend/src/pages/inbounds/useInbounds.ts

+ 2 - 0
frontend/src/pages/inbounds/useInbounds.ts

@@ -60,6 +60,8 @@ const TRACKED_PROTOCOLS: readonly string[] = [
   Protocols.TROJAN,
   Protocols.SHADOWSOCKS,
   Protocols.HYSTERIA,
+  Protocols.WIREGUARD,
+  Protocols.MTPROTO,
 ];
 
 async function fetchSlimInbounds(): Promise<unknown[]> {