Added CSP

This commit is contained in:
mathias 2017-02-12 02:31:38 +02:00
parent f3fb53dfc4
commit 4c68536f71
2 changed files with 2 additions and 4 deletions

View file

@ -6,6 +6,3 @@ exclude:
- LICENSE - LICENSE
gems: gems:
- jekyll-sitemap - jekyll-sitemap
webrick:
headers:
Content-Security-Policy: default-src https: 'unsafe-inline' 'unsafe-eval'

View file

@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site.title }}</title> <title>{{ site.title }}</title>
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
<meta http-equiv="Content-Security-Policy" content="default-src https: 'unsafe-inline' 'unsafe-eval'">
<link rel="canonical" href="{{ site.url }}/"> <link rel="canonical" href="{{ site.url }}/">
<style type="text/css"> <style type="text/css">
{% capture style %} {% capture style %}