forked from opentargets-archive/genetics-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
36 lines (31 loc) · 855 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
[[redirects]]
from = "https://www.immunobase.org.uk/*"
to = "https://genetics.opentargets.org/immunobase"
status = 301
force = true
[[redirects]]
from = "https://www.immunobase.org/*"
to = "https://genetics.opentargets.org/immunobase"
status = 301
force = true
[[redirects]]
from = "https://immunobase.org.uk/*"
to = "https://genetics.opentargets.org/immunobase"
status = 301
force = true
[[redirects]]
from = "https://immunobase.org/*"
to = "https://genetics.opentargets.org/immunobase"
status = 301
force = true
# redirect domain aliases to primary domain
[[redirects]]
from = "https://genetics.opentargets.io/*"
to = "https://genetics.opentargets.org/:splat"
status = 301
force = true
# redirect to ensure longer urls still fetch index.html
[[redirects]]
from = "/*"
to = "/index.html"
status = 200