forked from ropensci/roweb3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
34 lines (27 loc) · 774 Bytes
/
netlify.toml
File metadata and controls
34 lines (27 loc) · 774 Bytes
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.environment]
TZ = "America/Los_Angeles"
[build]
publish = "public"
command = "hugo --minify --buildFuture"
[context.production.environment]
HUGO_VERSION = "0.146.7"
[context.deploy-preview]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"
environment = { HUGO_VERSION = "0.146.7" }
[context.branch-deploy]
command = "hugo --buildFuture -b $DEPLOY_PRIME_URL"
[[redirects]]
from = "/*"
to = "/404.html"
status = 404
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/fonts/*"
[headers.values]
Access-Control-Allow-Origin = "https://docs.ropensci.org"
Vary = "Origin"
[[headers]]
for = "/r-universe/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Vary = "Origin"