aboutsummaryrefslogtreecommitdiff
path: root/netlify.toml
blob: 49a68ffa528df9ab523112d1ef6e7d685deb3e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[build]
    command = "hugo"
    publish = "public"
    functions = "functions"

[build.environment]
    HUGO_VERSION = "0.80.0"

[context.production.environment]
    HUGO_ENV = "production"
    NODE_ENV = "production"

[context.deploy-preview]
    command = "hugo -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
    command = "hugo -b $DEPLOY_PRIME_URL"

[headers]
    for = ["/*.json", "/*.xml"]
    [headers.values] 
      Access-Control-Allow-Origin = "*"