-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
39 lines (39 loc) · 934 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
36
37
38
39
[build]
command = 'make dist'
functions = 'functions'
publish = 'dist'
environment = { AWS_LAMBDA_JS_RUNTIME = 'nodejs16.x' }
[context.production.environment]
JEKYLL_ENV = 'production'
AWS_LAMBDA_JS_RUNTIME = 'nodejs16.x'
[build.processing.css]
bundle = true
minify = true
[build.processing.js]
bundle = true
minify = true
[build.processing.images]
compress = true
[build.processing.html]
pretty_urls = true
[dev]
autoLaunch = true
command = 'jekyll serve --livereload --incremental --watch'
[[headers]]
for = "/*"
[headers.values]
Permissions-Policy = "interest-cohort=()"
[[redirects]]
# Serve Plausible as a first-party script
from = "/js/ascript.js"
to = "https://plausible.io/js/script.js"
status = 200
[[redirects]]
# Also proxy Plausible events
from = "/api/event"
to = "https://plausible.io/api/event"
status = 200
[[redirects]]
from = '/*'
to = '/woops'
status = 404