-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
19 lines (15 loc) · 881 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[context.production.environment]
HUGO_VERSION = "0.110.0"
[context.deploy-preview.environment]
HUGO_VERSION = "0.110.0"
[[edge_functions]]
path = "/gallery/*/*"
excludedPath = "/*.jpg"
function = "og-image"
[dev]
framework = "hugo"
# Not ready for this yet, but this mostly works — still some scripts inline (need to hash)
# [[headers]]
# for = "/*"
# [headers.values]
# Content-Security-Policy = "default-src 'self'; script-src 'self' https://api.flickr.com/services/ https://fineartamerica.com/ https://www.googletagmanager.com https://www.google-analytics.com; connect-src 'self' https://api.ipdata.co; img-src 'self' http://localhost:1313/ https://live.staticflickr.com/; font-src 'self' http://localhost:1313/ https://fonts.gstatic.com; style-src-elem 'self' https://fonts.googleapis.com; style-src 'self' 'unsafe-inline'; frame-src https://fineartamerica.com/;"