Updated backend url in .env and removed or operator in API URL var in Frontend/src/components/FileList.jsx
This commit is contained in:
@@ -18,7 +18,7 @@ import {
|
||||
ArrowLeft,
|
||||
} from "lucide-react";
|
||||
|
||||
const API_URL = import.meta.env.VITE_API_URL || "http://localhost:8080";
|
||||
const API_URL = import.meta.env.VITE_API_URL;
|
||||
|
||||
const FileTable = ({ initialPath }) => {
|
||||
// Read username dynamically to avoid stale null on first load
|
||||
|
||||
Reference in New Issue
Block a user