From d2ee7395c5575b63e6b5a5cb919ce74a4e7f900c Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 10 Feb 2026 16:01:06 +0000 Subject: [PATCH] health?from=frontend for logs --- fastapi_vue_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastapi_vue_setup.py b/fastapi_vue_setup.py index b9476ab..25a56fb 100644 --- a/fastapi_vue_setup.py +++ b/fastapi_vue_setup.py @@ -115,7 +115,7 @@ const backendStatus = ref<'checking' | 'connected' | 'error'>('checking') onMounted(async () => { try { - const res = await fetch('/api/health') + const res = await fetch('/api/health?from=frontend') backendStatus.value = res.ok ? 'connected' : 'error' } catch { backendStatus.value = 'error' @@ -131,7 +131,7 @@ const backendStatus = ref('checking') onMounted(async () => { try { - const res = await fetch('/api/health') + const res = await fetch('/api/health?from=frontend') backendStatus.value = res.ok ? 'connected' : 'error' } catch { backendStatus.value = 'error'