Remote scripts better managed, should not send private information
This commit is contained in:
parent
da571f6da7
commit
cf51cbe2ae
@ -31,6 +31,8 @@
|
||||
</Directory>
|
||||
|
||||
CustomLog /var/simpleWeb/log/apache/acoeur.log combined
|
||||
|
||||
Header always set Access-Control-Allow-Origin "cdnjs.cloudflare.com"
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:80>
|
||||
|
@ -1,13 +1,14 @@
|
||||
<script>const file = '{{ .File }}'</script>
|
||||
|
||||
<script defer
|
||||
src="https://unpkg.com/tinymce@6.3.1/tinymce.js"
|
||||
referrerpolicy="origin"></script>
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/tinymce/6.4.2/tinymce.min.js"
|
||||
integrity="sha512-sWydClczl0KPyMWlARx1JaxJo2upoMYb9oh5IHwudGfICJ/8qaCyqhNTP5aa9Xx0aCRBwh71eZchgz0a4unoyQ==">
|
||||
</script>
|
||||
|
||||
<script defer
|
||||
src="https://cdn.jsdelivr.net/npm/easyqrcodejs@4.4.13/dist/easy.qrcode.min.js"
|
||||
integrity="sha256-ysnj5Mp9adRzpXyhbGW2YTdUSpdapignH3Z57bMq6G8="
|
||||
crossorigin="anonymous"></script>
|
||||
integrity="sha256-ysnj5Mp9adRzpXyhbGW2YTdUSpdapignH3Z57bMq6G8=">
|
||||
</script>
|
||||
|
||||
{{ with resources.Get "js/misc.js" | minify | fingerprint }}
|
||||
<script defer src="{{ .Permalink }}"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user