2020-03-05 20:14:12 +00:00
|
|
|
[build]
|
|
|
|
|
publish = "build"
|
|
|
|
|
command = "bash ./scripts/build.sh"
|
|
|
|
|
|
|
|
|
|
[[headers]]
|
2023-10-24 21:33:13 +00:00
|
|
|
for = "/*"
|
2020-03-05 20:14:12 +00:00
|
|
|
[headers.values]
|
2023-10-24 21:33:13 +00:00
|
|
|
Cache-Control = "public, max-age=604800, s-maxage=86400, stale-while-revalidate=604800"
|
2023-09-10 19:37:59 +00:00
|
|
|
Access-Control-Allow-Origin = "*"
|
2023-10-30 18:18:25 +00:00
|
|
|
Timing-Allow-Origin = "*"
|
2020-03-05 20:14:12 +00:00
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
|
from = "/"
|
|
|
|
|
to = "https://github.com/home-assistant/brands"
|
|
|
|
|
force = true
|
|
|
|
|
status = 301
|
2022-09-30 12:29:14 +00:00
|
|
|
|
|
|
|
|
[[redirects]]
|
2023-10-24 21:33:13 +00:00
|
|
|
from = "/_/*/:image"
|
|
|
|
|
to = "/_/_placeholder/:image"
|
2022-09-30 12:29:14 +00:00
|
|
|
force = false
|
2023-10-24 21:33:13 +00:00
|
|
|
status = 200
|
2022-09-30 12:29:14 +00:00
|
|
|
|
|
|
|
|
[[redirects]]
|
2023-10-24 21:33:13 +00:00
|
|
|
from = "/brands/_/*/:image"
|
|
|
|
|
to = "/brands/_/_placeholder/:image"
|
2022-09-30 12:29:14 +00:00
|
|
|
force = false
|
2023-10-24 21:33:13 +00:00
|
|
|
status = 200
|