packer-cn/website/netlify.toml

19 lines
469 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", NODE_OPTIONS = "--max_old_space_size=9999" }
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"