Just need the backend URL :(

This commit is contained in:
Hayden Hargreaves 2025-03-05 21:57:04 -07:00
parent 27fb16e404
commit 7bf4e90344
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export default function LoginForm() {
* URL To the backend web server * URL To the backend web server
* @type {string} * @type {string}
*/ */
const backendUrl = "http://backend:5000"; const backendUrl = "http://172.19.0.2:5000";
const [username, setUsername] = useState(""); const [username, setUsername] = useState("");
const [remember, setRemember] = useState(false); const [remember, setRemember] = useState(false);

View File

@ -14,7 +14,7 @@ export default function Dashboard() {
* URL To the backend web server * URL To the backend web server
* @type {string} * @type {string}
*/ */
const backendUrl = "http://backend:5000"; const backendUrl = "http://172.19.0.2:5000";
const [token, setToken] = useState(null); const [token, setToken] = useState(null);
const [path, setPath] = useState([...defaultPath]); const [path, setPath] = useState([...defaultPath]);