forked from home-assistant/brands
-
Notifications
You must be signed in to change notification settings - Fork 2
/
netlify.toml
81 lines (69 loc) · 2.17 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
69
70
71
72
73
74
75
76
77
78
79
80
81
[build]
publish = "build"
command = "bash ./scripts/build.sh"
[[headers]]
for = "/_/_placeholder/*.png"
[headers.values]
Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"
[[headers]]
for = "/*.png"
[headers.values]
Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate"
[[headers]]
for = "/domains.json"
[headers.values]
Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate"
[[redirects]]
from = "/"
to = "https://github.com/home-assistant/brands"
force = true
status = 301
headers = {Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate"}
[[redirects]]
from = "/_/*/icon.png"
to = "/_/_placeholder/icon.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/logo.png"
to = "/_/_placeholder/logo.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/icon@2x.png"
to = "/_/_placeholder/icon@2x.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/logo@2x.png"
to = "/_/_placeholder/logo@2x.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/dark_icon.png"
to = "/_/_placeholder/icon.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/dark_logo.png"
to = "/_/_placeholder/logo.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/dark_icon@2x.png"
to = "/_/_placeholder/icon@2x.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
[[redirects]]
from = "/_/*/dark_logo@2x.png"
to = "/_/_placeholder/logo@2x.png"
force = false
status = 302
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}