add CSP (more security)
authorrick <rick@gnous.eu>
Mon, 29 May 2023 22:28:30 +0000 (00:28 +0200)
committerrick <rick@gnous.eu>
Mon, 29 May 2023 22:28:30 +0000 (00:28 +0200)
header.html

index 3b2c49ce674df6954a7159486d9876345b0e29b8..a8c3af4b25d3dc7f88a560190d42675e4b007e40 100644 (file)
@@ -2,6 +2,7 @@
 <html lang="%lang%">
     <head>
         <meta charset="UTF-8" />
+        <meta http-equiv="Content-Security-Policy" content="default-src 'self';">
         <link rel="stylesheet" href="/css/style.css" />
         %links%
     </head>