-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
29 lines (25 loc) · 1007 Bytes
/
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
[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/software/8.8.1.sw/"
to = "https://help-cloud-thoughtspot.netlify.app/cloud/8.8.1.sw/index_help"
status = 200
force = true # COMMENT: ensure that we always redirect
[[redirects]]
from = "https://help-cloud-thoughtspot.netlify.app/software/8.4.1.sw/"
to = "https://help-cloud-thoughtspot.netlify.app/cloud/8.4.1.sw/index_help"
status = 200
force = true # COMMENT: ensure that we always redirect