-
Notifications
You must be signed in to change notification settings - Fork 3
/
netlify.toml
35 lines (30 loc) · 1.23 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[build.environment]
CI = "true"
NODE_VERSION = "10"
NPM_CONFIG_OPTIONAL = "false"
ANTORA_CACHE_DIR = "node_modules/.cache/antora"
[build]
command = "node_modules/.bin/antora antora-playbook.yml --stacktrace --log-format=pretty"
# security policies
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src * 'unsafe-eval' 'unsafe-inline' data: filesystem: about: blob:;"
# redirect any netlify address url to real address
# redirect for home of sw and cloud docs
# Algolia pendo search test redirect
# [[redirects]]
# from = "https://help-cloud-thoughtspot.netlify.app/cloud/9.0.0.cl/"
# to = "https://help-cloud-thoughtspot.netlify.app/cloud/9.0.0.cl/index_help"
# status = 200
# force = true # COMMENT: ensure that we always redirect
# [[redirects]]
# from = "https://help-cloud-thoughtspot.netlify.app/cloud/8.10.0.cl/"
# to = "https://help-cloud-thoughtspot.netlify.app/cloud/8.10.0.cl/index_help"
# status = 200
# force = true # COMMENT: ensure that we always redirect
# [[redirects]]
# from = "https://help-cloud-thoughtspot.netlify.app/cloud/8.9.0.cl/"
# to = "https://help-cloud-thoughtspot.netlify.app/cloud/8.9.0.cl/index_help"
# status = 200
# force = true # COMMENT: ensure that we always redirect