2020-03-18 18:46:47 -04:00
|
|
|
|
|
|
|
# This file sets configuration for Netlify
|
|
|
|
# ref: https://www.netlify.com/docs/netlify-toml-reference/
|
|
|
|
|
|
|
|
[build]
|
|
|
|
publish = "out"
|
|
|
|
command = "npm run static"
|
|
|
|
|
|
|
|
[context.production]
|
2020-05-29 17:12:05 -04:00
|
|
|
environment = { HASHI_ENV = "production", NODE_ENV = "production" }
|
2020-03-18 18:46:47 -04:00
|
|
|
|
|
|
|
[context.deploy-preview]
|
2020-09-01 05:24:30 -04:00
|
|
|
environment = { HASHI_ENV = "staging", NODE_ENV = "production", NODE_OPTIONS = "--max_old_space_size=9999" }
|
2020-03-18 18:46:47 -04:00
|
|
|
|
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
[headers.values]
|
|
|
|
X-Frame-Options = "SAMEORIGIN"
|