From 92df7d5c8454457d42197890cfcd93100a3ebc42 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 1 Jun 2026 21:11:25 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=98=E5=8C=96]=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=AD=E7=BB=A7=20Vhost=20HTTP=20=E7=AB=AF=E5=8F=A3=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=B9=B6=E4=BC=98=E5=8C=96=E7=9B=B8=E5=85=B3=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openflare_server/web/features/nodes/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openflare_server/web/features/nodes/utils.ts b/openflare_server/web/features/nodes/utils.ts index c45bc6bf..4977c112 100644 --- a/openflare_server/web/features/nodes/utils.ts +++ b/openflare_server/web/features/nodes/utils.ts @@ -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) {