Skip to content

Instantly share code, notes, and snippets.

@mecmartini
Last active January 29, 2021 15:23
Show Gist options
  • Save mecmartini/99a86cf9b9432482012be39084380749 to your computer and use it in GitHub Desktop.
Save mecmartini/99a86cf9b9432482012be39084380749 to your computer and use it in GitHub Desktop.
openeuropa/oe_webtools load libraries over https patch
diff --git a/modules/oe_webtools_cookie_consent/oe_webtools_cookie_consent.libraries.yml b/modules/oe_webtools_cookie_consent/oe_webtools_cookie_consent.libraries.yml
index 001751f..a1794de 100644
--- a/modules/oe_webtools_cookie_consent/oe_webtools_cookie_consent.libraries.yml
+++ b/modules/oe_webtools_cookie_consent/oe_webtools_cookie_consent.libraries.yml
@@ -2,4 +2,4 @@ oe_webtools_cookie_consent.cck:
version: 1.x
header: true
js:
- //ec.europa.eu/wel/cookie-consent/consent.js: { type: external, minified: false }
+ https://ec.europa.eu/wel/cookie-consent/consent.js: { type: external, minified: false }
diff --git a/oe_webtools.libraries.yml b/oe_webtools.libraries.yml
index b84685f..96cfed5 100644
--- a/oe_webtools.libraries.yml
+++ b/oe_webtools.libraries.yml
@@ -2,4 +2,4 @@
drupal.webtools-smartloader:
version: 1.x
js:
- //europa.eu/webtools/load.js: { external: true, attributes: { defer: true } }
+ https://europa.eu/webtools/load.js: { external: true, attributes: { defer: true } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment