security: replace corsproxy.io with local proxy fallback.
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ const DEFAULT_EPG_URL = EPG_SOURCES[0]?.epg_url ?? '';
|
|||||||
const DEFAULT_M3U_URL = EPG_SOURCES[0]?.m3u_url ?? '';
|
const DEFAULT_M3U_URL = EPG_SOURCES[0]?.m3u_url ?? '';
|
||||||
const PX_PER_MIN = 5;
|
const PX_PER_MIN = 5;
|
||||||
const GRID_HOURS = 72;
|
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.
|
// Anchor the grid 2 hours before "now", rounded down to the previous quarter-hour.
|
||||||
const _d = new Date();
|
const _d = new Date();
|
||||||
|
|||||||
Reference in New Issue
Block a user