diff --git a/frontend/src/components/HealthCheck.jsx b/frontend/src/components/HealthCheck.jsx index 6185982..b938e86 100644 --- a/frontend/src/components/HealthCheck.jsx +++ b/frontend/src/components/HealthCheck.jsx @@ -6,7 +6,7 @@ const HealthCheck = () => { useEffect(() => { const checkHealth = async () => { try { - const response = await fetch("http://localhost:5000/health"); + const response = await fetch("http://94.159.103.139:5000/health"); if (!response.ok) throw new Error("Server not responding"); setServerDown(false); } catch (error) { diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js index a7bfe1e..8912894 100644 --- a/frontend/src/services/api.js +++ b/frontend/src/services/api.js @@ -1,6 +1,6 @@ import axios from "axios"; -const API_BASE_URL = "http://localhost:5000/api"; +const API_BASE_URL = "http://94.159.103.139:5000/api"; const api = axios.create({ baseURL: API_BASE_URL,