-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
37 lines (29 loc) · 918 Bytes
/
netlify.toml
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
30
31
32
33
34
35
[build]
command = "astro build"
publish = "dist"
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = """
default-src 'self' miro.com figma.com *.figma.com;
img-src 'self' res.cloudinary.com images.ctfassets.net cdn.usefathom.com;
script-src 'self' 'unsafe-inline' cdn.usefathom.com;
style-src 'self' 'unsafe-inline' rsms.me fonts.googleapis.com;
font-src 'self' rsms.me fonts.gstatic.com"""
[[headers]]
for = "/admin*"
[headers.values]
Content-Security-Policy = "default-src 'self' 'unsafe-inline' 'unsafe-eval' *"
[[redirects]]
from = "/:year/:month/:date/:slug"
to = "/notes/:slug"
status = 301
[[plugins]]
package = "@netlify/plugin-sitemap"
[plugins.inputs]
buildDir = "dist"
[[plugins]]
package = "netlify-plugin-hashfiles"