[优化] 增加中继 Vhost HTTP 端口支持并优化相关逻辑

This commit is contained in:
ryan
2026-06-01 21:11:25 +08:00
parent 9632b4e3b8
commit 92df7d5c84
+2 -1
View File
@@ -1,9 +1,10 @@
import type { NodeItem } from '@/features/nodes/types';
export const WS_CONNECTED_LAST_SEEN = '__OPENFLARE_WS_CONNECTED__';
export const FLARED_WS_CONNECTED_LAST_SEEN = '__OPENFLARE_FLARED_WS_CONNECTED__';
export function isWSConnectedLastSeen(value: string | null | undefined) {
return value === WS_CONNECTED_LAST_SEEN;
return value === WS_CONNECTED_LAST_SEEN || value === FLARED_WS_CONNECTED_LAST_SEEN;
}
export function isMeaningfulTime(value: string | null | undefined) {