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