diff --git a/bin/acoeur.conf b/bin/acoeur.conf index 3810865..9298b2b 100644 --- a/bin/acoeur.conf +++ b/bin/acoeur.conf @@ -31,6 +31,8 @@ CustomLog /var/simpleWeb/log/apache/acoeur.log combined + + Header always set Access-Control-Allow-Origin "cdnjs.cloudflare.com" diff --git a/themes/acoeur/layouts/partials/head-additions.html b/themes/acoeur/layouts/partials/head-additions.html index 79d6966..7bb6153 100644 --- a/themes/acoeur/layouts/partials/head-additions.html +++ b/themes/acoeur/layouts/partials/head-additions.html @@ -1,13 +1,14 @@ + src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/6.4.2/tinymce.min.js" + integrity="sha512-sWydClczl0KPyMWlARx1JaxJo2upoMYb9oh5IHwudGfICJ/8qaCyqhNTP5aa9Xx0aCRBwh71eZchgz0a4unoyQ=="> + + integrity="sha256-ysnj5Mp9adRzpXyhbGW2YTdUSpdapignH3Z57bMq6G8="> + {{ with resources.Get "js/misc.js" | minify | fingerprint }}