-
Notifications
You must be signed in to change notification settings - Fork 5
/
netlify.toml
36 lines (28 loc) · 1.1 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
36
[build]
base = "docusaurus"
publish = "build"
command = "yarn run download-docs && yarn build && yarn install"
[context.production.environment]
MEILISEARCH_URL = "https://docs-search.gnoteam.com"
MEILISEARCH_INDEX_UID = "production"
# To generate this token, exec
#curl https://docs-search.gnoteam.com/keys -H "Authorization: Bearer $MEILI_MASTER_KEY"
MEILISEARCH_API_KEY = "cf93b323b625c7825c4690aa16f7ebdfd8f433a021efa40f3b986e8cf4b6415e"
[[plugins]]
package = "@netlify/plugin-lighthouse"
# [[headers]]
# # Define which paths this specific [[headers]] block will cover.
# for = "/*"
# [headers.values]
# X-Frame-Options = "DENY"
# X-XSS-Protection = "1; mode=block"
# Content-Security-Policy = "frame-ancestors https://www.facebook.com"
# # Multi-value headers are expressed with multi-line strings.
# cache-control = '''
# max-age=0,
# no-cache,
# no-store,
# must-revalidate'''
# # Basic-Auth allows you to password protect your whole site.
# # This feature may not be available on all plans.
# Basic-Auth = "someuser:somepassword anotheruser:anotherpassword"