security: replace corsproxy.io with local proxy fallback, Fix: Update avail. cache.

This commit is contained in:
Johnnybegood90
2026-03-14 12:10:20 +01:00
+1 -1
View File
@@ -9,7 +9,7 @@ const DEFAULT_EPG_URL = EPG_SOURCES[0]?.epg_url ?? '';
const DEFAULT_M3U_URL = EPG_SOURCES[0]?.m3u_url ?? '';
const PX_PER_MIN = 5;
const GRID_HOURS = 72;
const CORS_PROXY = 'https://corsproxy.io/?';
const CORS_PROXY = '/proxy.php?url=';
// Anchor the grid 2 hours before "now", rounded down to the previous quarter-hour.
const _d = new Date();