diff --git a/Frontend/.env b/Frontend/.env index 77b2686..8d76b66 100644 --- a/Frontend/.env +++ b/Frontend/.env @@ -1 +1 @@ -VITE_API_URL=http://192.168.29.61:8081 +VITE_API_URL=http://backend:8080 diff --git a/Frontend/src/components/FileList.jsx b/Frontend/src/components/FileList.jsx index 03ed7b8..76e097b 100644 --- a/Frontend/src/components/FileList.jsx +++ b/Frontend/src/components/FileList.jsx @@ -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