mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
* prepare for move to vercel hosting * update readme * add back netlify files for hosting transition
26 lines
527 B
TOML
26 lines
527 B
TOML
# This file sets configuration for Netlify
|
|
# ref: https://www.netlify.com/docs/netlify-toml-reference/
|
|
|
|
[build]
|
|
publish = "out"
|
|
command = "npm run static"
|
|
|
|
[build.environment]
|
|
NODE_OPTIONS = '--max-old-space-size=4096'
|
|
|
|
[context.production]
|
|
environment = { HASHI_ENV = "production", NODE_ENV = "production"}
|
|
|
|
[context.deploy-preview]
|
|
environment = { HASHI_ENV = "staging" }
|
|
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/404.html"
|
|
status = 404
|
|
|
|
[[headers]]
|
|
for = "/*"
|
|
[headers.values]
|
|
X-Frame-Options = "SAMEORIGIN"
|