diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/common_scripts.html | 2 | ||||
-rw-r--r-- | templates/web/base/offline/service_worker.html | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/templates/web/base/offline/service_worker.html b/templates/web/base/offline/service_worker.html index 0feb26ce6..3c480f9b1 100644 --- a/templates/web/base/offline/service_worker.html +++ b/templates/web/base/offline/service_worker.html @@ -6,7 +6,7 @@ SET scripts_seen = {}; ~%] -importScripts('https://cdn.jsdelivr.net/npm/idb-keyval@3/dist/idb-keyval-iife.min.js'); +importScripts('[% version('/vendor/idb-keyval-iife.min.js') %]'); const requiredOffline = [ "[% version('/cobrands/' _ c.cobrand.asset_moniker _ '/base.css') %]", |