Added DEFAULT_MAX_AGE_HOURS constant to proxy route

This commit is contained in:
Trevor Mears
2026-01-07 13:51:05 -08:00
parent 05996985f1
commit 7184a1ba56
+3
View File
@@ -14,6 +14,9 @@ const { spawn } = require('child_process');
const ffmpegPath = require('ffmpeg-static');
const { Readable } = require('stream');
// Default cache max age in hours
const DEFAULT_MAX_AGE_HOURS = 24;
// Helper to get formatted category list from DB
function getCategoriesFromDb(sourceId, type, includeHidden = false) {
const db = getDb();