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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user