From 77f02361abe571cdf7583e3e13882ef4619fe857 Mon Sep 17 00:00:00 2001 From: Johnnybegood90 Date: Sat, 14 Mar 2026 12:03:42 +0100 Subject: [PATCH] security: replace corsproxy.io with local proxy fallback. --- src/js/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/config.js b/src/js/config.js index 3149533..8d8188d 100644 --- a/src/js/config.js +++ b/src/js/config.js @@ -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();