From 383a5d8265418734bb6093c0299915d16773772c Mon Sep 17 00:00:00 2001 From: Hayden Hargreaves Date: Tue, 27 May 2025 22:43:34 -0700 Subject: [PATCH] (FIX): Always forget to change the paths Need a new system here, really --- backend/src/server.ts | 4 ++-- frontend/src/pages/Dashboard.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/server.ts b/backend/src/server.ts index 6ca0415..1293dbb 100644 --- a/backend/src/server.ts +++ b/backend/src/server.ts @@ -20,8 +20,8 @@ import Multer from "multer"; const PORT = 5000; const APP: Express = express(); // TODO: BACK TO NORMAL PATH -// const ROOT: string = "/media/vault"; -const ROOT: string = "/home/azpect"; +const ROOT: string = "/media/vault"; +// const ROOT: string = "/home/azpect"; /** * Configure the .env file, this is for testing only, should be ignored in production. diff --git a/frontend/src/pages/Dashboard.jsx b/frontend/src/pages/Dashboard.jsx index 51e99c0..eea0561 100644 --- a/frontend/src/pages/Dashboard.jsx +++ b/frontend/src/pages/Dashboard.jsx @@ -13,8 +13,8 @@ import CreateDirectory from "../components/CreateDirectory.jsx"; export default function Dashboard() { // Store the default path // TODO: BACK TO NORMAL PATH - // const defaultPath = ["media", "vault"]; - const defaultPath = ["home", "azpect"]; + const defaultPath = ["media", "vault"]; + // const defaultPath = ["home", "azpect"]; /** * URL To the backend web server.