open-vault/website/netlify.toml
Jeff Escalante fe4c38984a
Track 404 Pages with Analytics (#8667)
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2020-04-02 14:37:33 -04:00

24 lines
468 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" }
[[redirects]]
from = "/*"
to = "/404/index.html"
status = 404
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"