aboutsummaryrefslogtreecommitdiff
path: root/exampleSite/netlify.toml
blob: e0bd82ef401029d29f47552dd2919de9ae0db11e (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 = "*"