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