config: update csp
This commit is contained in:
parent
7c4373a3a9
commit
3482846159
|
@ -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');
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<script async defer data-domain="gethyas.com" src="https://stats.gethyas.com/js/index.js"></script>
|
Loading…
Reference in New Issue