2022-01-18 09:04:48 +01:00
|
|
|
[build]
|
|
|
|
command = "npm run build"
|
|
|
|
|
2022-05-20 16:20:31 +02:00
|
|
|
[[plugins]]
|
|
|
|
package = "@algolia/netlify-plugin-crawler"
|
|
|
|
[plugins.inputs]
|
|
|
|
branches = ['v2-alpha', 'v2', 'v2-alpha-readme']
|
|
|
|
renderJavaScript = false
|
|
|
|
template = "hierarchical"
|
|
|
|
|
2022-01-18 09:04:48 +01:00
|
|
|
[[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'''
|
|
|
|
|