fix(frontend): Use relative URL for health endpoint

This commit is contained in:
2025-09-06 08:47:03 +02:00
parent 79c0734bd2
commit ea56f53f69

View File

@@ -4,7 +4,7 @@ export const lastCheckTime = ref<Date | null>(null)
export function useServerHealth() {
const checkInterval = ref<NodeJS.Timeout | null>(null)
const healthCheckUrl = 'http://localhost:3001/api/actuator/health'
const healthCheckUrl = '/api/actuator/health'
async function checkServerHealth(): Promise<boolean> {
if (isChecking.value) return isServerAvailable.value