-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify-override.toml
34 lines (28 loc) · 1022 Bytes
/
netlify-override.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
[build]
publish = "_site"
command = "eleventy"
[context.deploy-preview]
command = "eleventy && npm run noIndex"
[context.branch-deploy]
command = "eleventy && npm run noIndex"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self' https://*.snipcart.com;style-src 'self' 'nonce-DYrHwYkbA29q' https://fonts.googleapis.com https://cdn.snipcart.com https://maxcdn.bootstrapcdn.com;font-src 'self' https://maxcdn.bootstrapcdn.com https://fonts.gstatic.com;img-src 'self' localhost:8055;script-src 'self' 'unsafe-eval' https://*.snipcart.com https://www.google-analytics.com;"
[[redirects]]
from = "/search-results"
to = "/.netlify/functions/serverless"
status = 200
force = true
_generated_by_eleventy_serverless = "serverless"
[[redirects]]
from = "/books/:id"
to = "/.netlify/functions/serverless"
status = 200
force = false
_generated_by_eleventy_serverless = "serverless"
[[redirects]]
from = "/images/*"
to = "https://cms.scrinium.nl/assets/:splat"
status = 200
force = true