diff --git a/admin-server.ts b/admin-server.ts index 8ab90a9..0d69418 100644 --- a/admin-server.ts +++ b/admin-server.ts @@ -5,7 +5,7 @@ import { Hono } from "hono"; import { basicAuth } from "hono/basic-auth"; import { addNewFeedUrl } from "./scripts/fetch_and_generate.js"; import { batchScheduler } from "./services/batch-scheduler.js"; -import { config, validateConfig } from "./services/config.js"; +import { config } from "./services/config.js"; import { closeBrowser } from "./services/content-extractor.js"; import { deleteEpisode, diff --git a/public/default_thumbnail.svg b/public/default_thumbnail.svg deleted file mode 100644 index fe3343d..0000000 --- a/public/default_thumbnail.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - PODCAST - \ No newline at end of file diff --git a/server.ts b/server.ts index 915d414..84dbc28 100644 --- a/server.ts +++ b/server.ts @@ -1,7 +1,6 @@ import path from "path"; import { serve } from "@hono/node-server"; import { Hono } from "hono"; -import "./services/batch-scheduler.js"; import { config, validateConfig } from "./services/config.js"; import { closeBrowser } from "./services/content-extractor.js"; @@ -783,8 +782,7 @@ app.get("/episode/:episodeId", async (c) => { // Catch-all for SPA routing app.get("*", serveIndex); -// Batch processing - now using batch scheduler -console.log("🔄 Batch scheduler initialized and ready"); +// Batch processing is managed by the admin server // Graceful shutdown process.on("SIGINT", async () => { @@ -810,7 +808,7 @@ serve( console.log(`📡 Using configuration from: ${config.paths.projectRoot}`); console.log(`🗄️ Database: ${config.paths.dbPath}`); console.log( - `🔄 Batch scheduler is active and will manage automatic processing`, + `🔄 Batch processing is managed by admin server (port ${config.admin.port})`, ); }, );