brands/netlify.toml

29 lines
595 B
TOML
Raw Normal View History

2020-03-05 20:14:12 +00:00
[build]
publish = "build"
command = "bash ./scripts/build.sh"
[[headers]]
for = "/*"
2020-03-05 20:14:12 +00:00
[headers.values]
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 = "*"
Timing-Allow-Origin = "*"
2020-03-05 20:14:12 +00:00
[[redirects]]
from = "/"
to = "https://github.com/home-assistant/brands"
force = true
status = 301
[[redirects]]
from = "/_/*/:image"
to = "/_/_placeholder/:image"
force = false
status = 200
[[redirects]]
from = "/brands/_/*/:image"
to = "/brands/_/_placeholder/:image"
force = false
status = 200