diff --git a/backend/src/server.ts b/backend/src/server.ts index ca52bd2..e105b7d 100644 --- a/backend/src/server.ts +++ b/backend/src/server.ts @@ -71,8 +71,6 @@ v1.post("/login", (req: Request, res: Response): void => { // Get info from body const {username, password} = req.body; - console.log("I GOT HIT BABY!!!"); - // Get required info from the environment and validate // TODO: Make sure the ENV is sourced through docker compose! if (process.env["FILE_GOPHERNEST_USER"] === username && validateHash(password, process.env["FILE_GOPHERNEST_PASSWORD"] as string)) { diff --git a/frontend/src/components/LoginForm.jsx b/frontend/src/components/LoginForm.jsx index 0a01230..5bdc0a9 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://172.19.0.2:5000"; + const backendUrl = "https://backend.gophernest.net"; const [username, setUsername] = useState(""); const [remember, setRemember] = useState(false); diff --git a/frontend/src/pages/Dashboard.jsx b/frontend/src/pages/Dashboard.jsx index 02baa00..5017204 100644 --- a/frontend/src/pages/Dashboard.jsx +++ b/frontend/src/pages/Dashboard.jsx @@ -8,13 +8,13 @@ import Editor from "../components/Editor.jsx"; export default function Dashboard() { // Store the default path - const defaultPath = ["home", "azpect", "Documents"]; + const defaultPath = ["media", "vault"]; /** * URL To the backend web server * @type {string} */ - const backendUrl = "http://172.19.0.2:5000"; + const backendUrl = "https://backend.gophernest.net"; const [token, setToken] = useState(null); const [path, setPath] = useState([...defaultPath]);