forked from syncthing/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
37 lines (31 loc) · 715 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
[build]
publish = "_site"
command = "./build.sh"
functions = "functions"
[build.environment]
GO_VERSION = "1.13.10"
HUGO_VERSION = "0.62.2"
[[redirects]]
from = "/security.html"
to = "/security/"
status = 301
[[redirects]]
from = "https://syncthing.org/"
to = "https://syncthing.net/foundation/"
status = 301
force = true
[[redirects]]
from = "https://www.syncthing.org/"
to = "https://syncthing.net/foundation/"
status = 301
force = true
[[redirects]]
from = "https://syncthing.org/*"
to = "https://syncthing.net/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.syncthing.org/*"
to = "https://syncthing.net/:splat"
status = 301
force = true