aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/common_scripts.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-02-14 17:00:23 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-02-14 17:00:23 +0000
commit52e79b293a5595fa558b080e934cf985c5e1c1b7 (patch)
tree2838298314783c55bf53d8c9d1b0724325b9fcfa /templates/web/base/common_scripts.html
parent17a3844c49d4769c8d47b50fce4a4a711748bd18 (diff)
Vendor in idb-keyval.
Easier working with CSP headers.
Diffstat (limited to 'templates/web/base/common_scripts.html')
-rw-r--r--templates/web/base/common_scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html
index f94b3d464..b8c4db343 100644
--- a/templates/web/base/common_scripts.html
+++ b/templates/web/base/common_scripts.html
@@ -46,7 +46,7 @@ IF c.user_exists AND (c.user.from_body OR c.user.is_superuser);
END;
IF c.user.has_body_permission_to('planned_reports');
scripts.push(
- 'https://cdn.jsdelivr.net/npm/idb-keyval@3/dist/idb-keyval-iife.min.js',
+ version('/vendor/idb-keyval-iife.min.js'),
version('/cobrands/fixmystreet/offline.js'),
);
END;