-
Notifications
You must be signed in to change notification settings - Fork 11
/
netlify.toml
26 lines (24 loc) · 1.11 KB
/
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
# NOTE:
# Ordinarily you might want to configure your Netlify "Build command" and
# "Publish directory" in this file. But this project contains multiple sites, which
# means that a single "netlify.toml" file won't work to accommodate the build commands
# and publish directories for them all.
#
# Instead, use the Netlify website to enter those details for your sites individually.
# For more info on this approach, see:
#
# https://github.com/netlify/netlify-cms/issues/1325
#
# You *can* however place common Build environment variables in this file. And you
# can still use "_redirects" files in each individual site to configure redirects and
# proxying as needed.
[build.environment]
NODE_VERSION = '10.13.0'
HUGO_VERSION = '0.67.0'
[[headers]]
# Define which paths this specific [[headers]] block will cover
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Headers = "X-Requested-With, Content-Type, Authorization, Origin, Accept"
Access-Control-Allow-Methods = "GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH"