-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnetlify.toml
68 lines (55 loc) · 1.33 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[[redirects]]
from = "/book/latest"
to = "https://book.amethyst.rs/stable/"
status = 301
[[redirects]]
from = "/book/latest/*"
to = "https://book.amethyst.rs/stable/:splat"
status = 301
[[redirects]]
from = "/doc/latest/doc"
to = "https://docs-src.amethyst.rs/stable/"
status = 301
[[redirects]]
from = "/doc/latest/doc/*"
to = "https://docs-src.amethyst.rs/stable/:splat"
status = 301
[[redirects]]
from = "/book/master"
to = "https://book.amethyst.rs/master/"
status = 301
[[redirects]]
from = "/book/master/*"
to = "https://book.amethyst.rs/master/:splat"
status = 301
[[redirects]]
from = "/doc/master/doc/*"
to = "https://docs-src.amethyst.rs/master/:splat"
status = 301
[[redirects]]
from = "/doc/master/doc/*"
to = "https://docs-src.amethyst.rs/master/:splat"
status = 301
[[redirects]]
from = "/posts/"
to = "/news/"
[[redirects]]
from = "/posts"
to = "/news"
[[redirects]]
from = "/blog/*"
to = "/posts/:splat"
[[redirects]]
from = "/assets/amethyst.svg"
to = "https://amethyst.cdn.prismic.io/amethyst%2F3fbe7dbd-1352-45f4-b2cf-cfa99f852e0a_logo-filled.svg"
[[redirects]]
from = "/brand/logo-standard.svg"
to = "https://amethyst.cdn.prismic.io/amethyst%2F3fbe7dbd-1352-45f4-b2cf-cfa99f852e0a_logo-filled.svg"
[[headers]]
for = "/*"
[headers.values]
cache-control = '''
max-age=0,
no-cache,
must-revalidate'''
pragma = "no-cache"