Commit 34828461 authored by Henk Verlinde's avatar Henk Verlinde
Browse files

config: update csp

parent 7c4373a3
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -13,20 +13,6 @@ if (localStorage.getItem('theme') === 'dark') {

}

/* eslint-disable */
/*
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }

if (document.querySelector('#deploy-to-netlify') !== null) {

  document.getElementById('deploy-to-netlify').addEventListener('click', function(){
    plausible('Deploy to Netlify');
  });

}
*/
/* eslint-enable */

var suggestions = document.getElementById('suggestions');
var userinput = document.getElementById('userinput');

+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
  X-Content-Type-Options: nosniff
  X-XSS-Protection: 1; mode=block
  Content-Security-Policy: default-src 'self'; manifest-src 'self'; connect-src 'self' https://stats.gethyas.com https://*.algolia.net https://*.algolianet.com https://*.algolia.io; font-src 'self'; img-src 'self' data: https://www.netlify.com; script-src 'self' 'unsafe-eval' 'nonce-dXNlcj0iaGVsbG8iLGRvbWFpbj0iaGVua3ZlcmxpbmRlLmNvbSIsZG9jdW1lbnQud3JpdGUodXNlcisiQCIrZG9tYWluKTs=' https://stats.gethyas.com; style-src 'self' 
  Content-Security-Policy: default-src 'none'; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self'; script-src 'self'; style-src 'self' 
  X-Frame-Options: SAMEORIGIN
  Referrer-Policy: strict-origin
  Feature-Policy: geolocation 'self'
+0 −1
Original line number Diff line number Diff line
<script async defer data-domain="gethyas.com" src="https://stats.gethyas.com/js/index.js"></script>
 No newline at end of file