From 7bf4e903440bae4ec3e39e7805aa132781484405 Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Wed, 5 Mar 2025 21:57:04 -0700 Subject: [PATCH] Just need the backend URL :( --- frontend/src/components/LoginForm.jsx | 2 +- frontend/src/pages/Dashboard.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]);