forked from ooni/ooni.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
41 lines (33 loc) · 852 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
30
31
32
33
34
35
36
37
38
39
40
41
[build]
publish = "public"
command = "scripts/deploy_netlify.sh"
[context.production.environment]
HUGO_VERSION = "0.76.5"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[[headers]]
for = "/*"
[headers.values]
Permissions-Policy = "interest-cohort=()"
[[redirects]]
from = "https://ooni.io/*"
to = "https://ooni.org/:splat"
status = 301
[[redirects]]
from = "https://msg.ooni.io/en/messages/*"
to = "https://ooni.org/msg/:splat"
status = 301
[[redirects]]
from = "https://msg.ooni.io/fr/messages/*"
to = "https://ooni.org/fr/msg/:splat"
status = 301
[[redirects]]
from = "https://labs.ooni.io/*"
to = "https://ooni.org/retired/labs"
status = 301
[[redirects]]
from = "https://labs.ooni.io"
to = "https://ooni.org/retired/labs"
status = 301
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"