diff --git a/frontend/components/HealthDashboard.vue b/frontend/components/HealthDashboard.vue index 858b705..9c21892 100644 --- a/frontend/components/HealthDashboard.vue +++ b/frontend/components/HealthDashboard.vue @@ -5,7 +5,11 @@ import HealthDashboardView, { type HealthInfo } from './HealthDashboardView.vue' // Separation of concerns (SRP): // - HealthDashboard (this) = data layer (useFetch lifecycle) // - HealthDashboardView = presentation layer (testable in Storybook + e2e) -const { data, pending, error } = await useFetch('/api/healthz') +// +// server: false → fetch client-side only. Avoids SSR fetching through the dev +// proxy (which can fail in some local setups), and lets Playwright route mocks +// apply. Same fix that landed for AppFooter in PR #40. +const { data, pending, error } = useFetch('/api/healthz', { server: false })