packer-cn/website/netlify.toml

19 lines
425 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", NODE_ENV = "production" }
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"