~gpanders/gpanders.com

ref: 1f3003bed63e703aba1e36b005ebe856add07d2c gpanders.com/netlify.toml -rw-r--r-- 816 bytes
1f3003beGregory Anders Add unsafe-inline to script-src CSP 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[build]
  publish = "public"
  command = "hugo --minify"

[build.environment]
  HUGO_VERSION = "0.82.1"

[[redirects]]
  from = "/posts/*"
  to = "/blog/:splat"
  status = 301

[[headers]]
  for = "/.well-known/matrix/*"
  [headers.values]
    Content-Type = "application/json"
    Access-Control-Allow-Origin = "*"

[[headers]]
  for = "/*"
  [headers.values]
    Content-Security-Policy = "default-src 'self'; object-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'"
    X-Content-Type-Options = "nosniff"
    X-Frame-Options = "SAMEORIGIN"

[[headers]]
  for = "/blog/introducing-ijq/"
  [headers.values]
    Content-Security-Policy = "default-src 'self'; object-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; img-src 'self' https://asciinema.org"