From a7a193570ba5cdcd47b4cc986c72d7ffc91142d5 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Mon, 18 May 2026 06:44:05 +0000 Subject: [PATCH] fix(templates): correct SRI hashes for leaflet.draw assets The integrity hashes for leaflet.draw.css and leaflet.draw.js were incorrect, causing browsers to silently block these resources. This broke the Leaflet.draw toolbar and map rendering for FIRMS/USGS adapter region pickers. Updated both setup_adapters.html and adapters_edit.html with the correct sha512 hashes computed from the actual CDN files. Co-Authored-By: Claude Opus 4.5 --- src/central/gui/templates/adapters_edit.html | 4 ++-- src/central/gui/templates/setup_adapters.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/central/gui/templates/adapters_edit.html b/src/central/gui/templates/adapters_edit.html index 35ae6c8..939aa75 100644 --- a/src/central/gui/templates/adapters_edit.html +++ b/src/central/gui/templates/adapters_edit.html @@ -4,9 +4,9 @@ {% block head %} - + - + {% endblock %} {% block content %} diff --git a/src/central/gui/templates/setup_adapters.html b/src/central/gui/templates/setup_adapters.html index 9ff2f50..de3f8c2 100644 --- a/src/central/gui/templates/setup_adapters.html +++ b/src/central/gui/templates/setup_adapters.html @@ -4,9 +4,9 @@ {% block head %} - + - + {% endblock %} {% block content %}