fix(cctv): make the Lithuania pack opt-in until its licence is confirmed

The camera endpoints are the eismoinfo.lt website backend, which the Via
Lietuva open-data statement does not list, so the pack now follows the NYC
opt-in pattern (CCTV_LITHUANIA_ENABLED=1) and the docs say why. A failed
catalog request now aborts its sibling instead of leaving it open until the
timeout, and a redirect is logged as not followed.
This commit is contained in:
Sameh Khamis committed 2026-10-15 15:17:31 -07:00
1 parent b4d852587a
commit bcfba77196
9 files changed
+125 -36

No files matched your search

+4 -1
View File
@@ -251,7 +251,10 @@ export const DATA_CREDITS = [
{
key: 'lithuania-cctv',
html:
'Road-camera stills (Lithuania): ' +
// Opt-in: the camera endpoints are the eismoinfo.lt website backend, not
// among the services Via Lietuva's open-data statement lists (its
// conditions: attribution, reuse on the same terms).
'Road-camera stills (Lithuania, when enabled): ' +
'<a href="https://eismoinfo.lt/" target="_blank" rel="noopener">Via Lietuva / Eismoinfo</a>; periodically updated images',
},
{