-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathnetlify.toml
47 lines (40 loc) · 901 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
40
41
42
43
44
45
46
47
[build]
base = "/"
command = "yarn build"
publish = "public/"
[build.processing.css]
bundle = true
minify = false
[build.processing.js]
bundle = true
minify = false
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true
[build.environment]
NODE_ENV = "production"
# Workaround for Yarn v3 caching - see context:
# https://github.com/netlify/build/issues/1535#issuecomment-1021947989
YARN_CACHE_FOLDER = "/opt/buildhome/.yarn_cache"
[[headers]]
for = "/rss.xml"
[headers.values]
Cache-Control = "no-cache"
[[headers]]
for = "/.well-known/webfinger"
[headers.values]
Content-Type = "application/jrd+json"
[[headers]]
for = "/.well-known/host-meta"
[headers.values]
Content-Type = "application/xml"
[[headers]]
for = "/.well-known/nodeinfo"
[headers.values]
Content-Type = "application/jrd+json"
[[redirects]]
from = "/feed"
to = "/rss.xml"
status = 200
force = true