Explorar o código

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

MHSanaei hai 8 horas
pai
achega
476bec451d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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[]> {