Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/alpha-church.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Saunders <daniel.saunders@gmail.com>2021-07-24 16:37:34 +0300
committerDaniel Saunders <daniel.saunders@gmail.com>2021-07-24 16:37:34 +0300
commitff8f18d7565273a74153e6cd1965204c58bfc13d (patch)
tree520a2b360a27e5011f11a15d084fe07024f7df53
parentc4c3b6dc4756a7ee6a1c791c8fdf3d6a763ec525 (diff)
Removing integrity checks for plyr.io - it's just not working.
-rw-r--r--data/libs.toml4
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/scripts.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/data/libs.toml b/data/libs.toml
index fb8718c..3645120 100644
--- a/data/libs.toml
+++ b/data/libs.toml
@@ -12,7 +12,7 @@
[js.plyr]
#Make sure the hash is for the polyfilled version
version = "3.6.8"
- integrity = "sha256-8pKFLhc+W/ZBcL3RduHBEMbndCIS2s6ZCtGJOH52a5k= sha384-jsSHLf0o2RIL87uMlx+J0EeN1cSuoLBoQESC40tgaJ8tpuycaKzt1VJk/dD0w5nx sha512-D/RecH5wgfwlhwEvLEkT5uRaT7T5XDlaje4KllmIsPL9Pq3ZtzQ4zoQmx9BkkK/BG6GE97jFCOdyFl0aXYQW5w=="
+ integrity = "sha512-tu8A6GEb3W7Pe1a1LLCMM/UtTjJv3GaH653Nm+GaW/gHFTPFX5ZJIsDMULPVXsi8T448DcRELMSVRc1PDECTNQ=="
[js.instantpage]
version = "5.1.0"
@@ -25,4 +25,4 @@
[css.plyr]
version = "3.6.8"
- integrity = "sha256-LkLpUVapZnaQH20+g9nrJOW5L0fb3NNakCzpedLAcUk= sha384-U+S2h5OXab7xvXkQAiAM55Ri56b8IYBd3QSbS7CQE29KhYJSCqA96E1LHX+q4ZxC sha512-cdtHYQTBNMRJwVUi/jCYhncP1JQRblIP9JTWJMeNN8ObYt5TfPrUjs53lH6hbirtzBhC02UrRpNFyFL2hrR0xg=="
+ integrity = "sha512-kuSeWNZsBfW/esn9MiIQ3hkFqNdHKljzVQYBOe7gPXGUNCE8KqrbZLHDSH005HrUwCI8erQ5iDrBHlSzTfSbmw=="
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 883bbeb..425a759 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -31,7 +31,7 @@
{{ template "_internal/twitter_cards.html" . }}
<link rel="stylesheet" href="{{ "fontawesome/css/all.min.css" | absURL }}" />
{{- $css := .Site.Data.libs.css -}}
- {{ if .IsPage }}{{ printf "<link rel=\"stylesheet\" href=\"//cdn.plyr.io/%s/plyr.css\" integrity=\"%s\" crossorigin=\"anonymous\">" $css.plyr.version $css.plyr.integrity | safeHTML }}{{ end }}
+ {{ if .IsPage }}{{ printf "<link rel=\"stylesheet\" href=\"https://cdn.plyr.io/%s/plyr.css\" crossorigin=\"anonymous\">" $css.plyr.version $css.plyr.integrity | safeHTML }}{{ end }}
{{- $ieStyles := resources.Get "scss/ie8.scss" | toCSS | minify -}}
{{- $ieJs := resources.Get "js/ie/html5shiv.js" | minify -}}
{{ printf "<!--[if lte IE 8]><script src=\"%s\"></script><link rel=\"stylesheet\" href=\"%s\" /><![endif]-->" $ieJs.RelPermalink $ieStyles.RelPermalink | safeHTML }}
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 6183dba..8914d5d 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -50,7 +50,7 @@
{{ end }}
{{ `<!--[if lte IE 8]><script src=" {{ $ie.RelPermalink }} "></script><![endif]-->` | safeHTML}}
{{ if .IsPage }}
- {{ printf "<script src=\"//cdn.plyr.io/%s/plyr.polyfilled.js\" integrity=\"%s\" crossorigin=\"anonymous\"></script>" $js.plyr.version $js.plyr.integrity | safeHTML }}
+ {{ printf "<script src=\"https://cdn.plyr.io/%s/plyr.polyfilled.js\" crossorigin=\"anonymous\"></script>" $js.plyr.version $js.plyr.integrity | safeHTML }}
<script>
$(document).ready(function() {
if ($("#player").length) {
@@ -59,7 +59,7 @@
});
</script>
{{ end }}
-{{ if .Site.Params.instant_page }}{{ printf "<script src=\"//instant.page/%s\" type=\"module\" defer integrity=\"%s\" crossorigin=\"anonymous\"></script>" $js.instantpage.version $js.instantpage.integrity | safeHTML }}{{ end }}
+{{ if .Site.Params.instant_page }}{{ printf "<script src=\"https://instant.page/%s\" type=\"module\" defer integrity=\"%s\" crossorigin=\"anonymous\"></script>" $js.instantpage.version $js.instantpage.integrity | safeHTML }}{{ end }}
{{ if .Site.GoogleAnalytics }}{{ template "_internal/google_analytics.html" . }}{{ end }}
</body>
</html>