Add Node.js to backend Dockerfile and enhance downloader

Added Node.js installation to the backend Dockerfile to support yt-dlp's JavaScript runtime. Updated downloader API to bypass SSL verification in Docker, improved error reporting, and convert video thumbnails to data URLs to avoid mixed content issues. In the frontend, improved Dockerfile.prod install process and added new service routes for drone and web services in App.tsx.
This commit is contained in:
2025-12-23 13:37:24 +01:00
parent 1cec6be6d7
commit cf615c5279
4 changed files with 50 additions and 6 deletions

View File

@@ -3,6 +3,8 @@ import Home from "./pages/home/home";
import HomeLayout from "./layouts/HomeLayout";
import Downloader from "./pages/downloader/Downloader";
import PrivateRoute from "./routes/PrivateRoute";
import DroneServisSection from "./pages/home/components/Services/droneServis";
//import { UserContextProvider } from "./context/UserContext";
// Pages
@@ -24,6 +26,11 @@ export default function App() {
{/* APPS */}
<Route path="apps/downloader" element={<Downloader />} />
{/* SERVICES */}
<Route path="services/drone" element={< DroneServisSection />} />
<Route path="services/web" element={<Downloader />} />
</Route>