zitadel/docs/netlify.toml

31 lines
598 B
TOML
Raw Normal View History

[build]
command = "npm run build"
[[plugins]]
package = "@algolia/netlify-plugin-crawler"
[plugins.inputs]
branches = ['v2-alpha', 'v2', 'v2-alpha-readme']
renderJavaScript = false
template = "hierarchical"
[[redirects]]
from = "/proxy/js/script.js"
to = "https://plausible.io/js/plausible.js"
status = 200
force = true
[[redirects]]
from = "/proxy/api/event"
to = "https://plausible.io/api/event"
status = 202
force = true
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = '''
max-age=31536000;
includeSubDomains;
preload'''