From 0780afbb2ec48cebf9331b543577095c3bce26ed Mon Sep 17 00:00:00 2001 From: samuel-p Date: Sun, 26 Jul 2020 19:53:33 +0200 Subject: [PATCH] updated csp added stats icon --- README.md | 4 ++-- sites/_includes/layouts/base.njk | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 312218e..5d18750 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Website for sp-codes.de The following Parameters are set directly on the Web-Server. ``` -Content-Security-Policy: default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'none' +Content-Security-Policy: default-src 'none'; script-src 'self' https://plausible.sp-codes.de; object-src 'none'; style-src 'self'; img-src 'self'; media-src 'none'; frame-src 'none'; font-src 'self'; connect-src 'self' https://plausible.sp-codes.de; require-trusted-types-for 'script' Referrer-Policy: same-origin Feature-Policy: sync-xhr 'self' Strict-Transport-Security: max-age=31536000; includeSubDomains; preload @@ -21,4 +21,4 @@ X-Frame-Options: DENY X-XSS-Protection: 1; mode=block ``` -There is also a `301` Redirect from http to https. \ No newline at end of file +There is also a `301` Redirect from http to https. diff --git a/sites/_includes/layouts/base.njk b/sites/_includes/layouts/base.njk index b4ffe3e..90e0f64 100644 --- a/sites/_includes/layouts/base.njk +++ b/sites/_includes/layouts/base.njk @@ -75,7 +75,8 @@ title: sp-codes
-
Code
+ +
Stats