diff --git a/frontend/src/components/LoginForm.jsx b/frontend/src/components/LoginForm.jsx index 032c4f1..0a01230 100644 --- a/frontend/src/components/LoginForm.jsx +++ b/frontend/src/components/LoginForm.jsx @@ -9,7 +9,7 @@ export default function LoginForm() { * URL To the backend web server * @type {string} */ - const backendUrl = "http://backend:5000"; + const backendUrl = "http://172.19.0.2:5000"; const [username, setUsername] = useState(""); const [remember, setRemember] = useState(false); diff --git a/frontend/src/pages/Dashboard.jsx b/frontend/src/pages/Dashboard.jsx index cc3ba88..02baa00 100644 --- a/frontend/src/pages/Dashboard.jsx +++ b/frontend/src/pages/Dashboard.jsx @@ -14,7 +14,7 @@ export default function Dashboard() { * URL To the backend web server * @type {string} */ - const backendUrl = "http://backend:5000"; + const backendUrl = "http://172.19.0.2:5000"; const [token, setToken] = useState(null); const [path, setPath] = useState([...defaultPath]);