mirror of https://github.com/hashicorp/consul
19 lines
399 B
TOML
19 lines
399 B
TOML
|
|
# This file sets configuration for Netlify
|
|
# ref: https://www.netlify.com/docs/netlify-toml-reference/
|
|
|
|
[build]
|
|
publish = "out"
|
|
command = "npm run static"
|
|
|
|
[context.production]
|
|
environment = { HASHI_ENV = "production", NODE_ENV = "production"}
|
|
|
|
[context.deploy-preview]
|
|
environment = { HASHI_ENV = "staging" }
|
|
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Frame-Options = "SAMEORIGIN"
|