Fix
This commit is contained in:
@ -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,
|
||||
|
@ -1,9 +0,0 @@
|
||||
<svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="400" height="400" fill="#2563eb"/>
|
||||
<circle cx="200" cy="150" r="60" fill="white" opacity="0.9"/>
|
||||
<polygon points="180,130 180,170 220,150" fill="#2563eb"/>
|
||||
<rect x="100" y="220" width="200" height="8" rx="4" fill="white" opacity="0.7"/>
|
||||
<rect x="120" y="240" width="160" height="6" rx="3" fill="white" opacity="0.5"/>
|
||||
<rect x="140" y="258" width="120" height="6" rx="3" fill="white" opacity="0.5"/>
|
||||
<text x="200" y="320" text-anchor="middle" fill="white" font-family="Arial, sans-serif" font-size="24" font-weight="bold" opacity="0.8">PODCAST</text>
|
||||
</svg>
|
Before Width: | Height: | Size: 671 B |
@ -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})`,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user