From ea56f53f69a1d326204bf84cf3edae893b490dac Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Sat, 6 Sep 2025 08:47:03 +0200 Subject: [PATCH] fix(frontend): Use relative URL for health endpoint --- legalconsenthub/composables/useServerHealth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legalconsenthub/composables/useServerHealth.ts b/legalconsenthub/composables/useServerHealth.ts index 191a650..0ba5c2a 100644 --- a/legalconsenthub/composables/useServerHealth.ts +++ b/legalconsenthub/composables/useServerHealth.ts @@ -4,7 +4,7 @@ export const lastCheckTime = ref(null) export function useServerHealth() { const checkInterval = ref(null) - const healthCheckUrl = 'http://localhost:3001/api/actuator/health' + const healthCheckUrl = '/api/actuator/health' async function checkServerHealth(): Promise { if (isChecking.value) return isServerAvailable.value