mirror of
https://github.com/sudoxnym/brands.git
synced 2026-04-14 19:47:34 +00:00
137 lines
3.8 KiB
TOML
137 lines
3.8 KiB
TOML
[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"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/icon.png"
|
|
to = "/brands/_/_placeholder/icon.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/logo.png"
|
|
to = "/brands/_/_placeholder/logo.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/icon@2x.png"
|
|
to = "/brands/_/_placeholder/icon@2x.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/logo@2x.png"
|
|
to = "/brands/_/_placeholder/logo@2x.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/dark_icon.png"
|
|
to = "/brands/_/_placeholder/icon.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/dark_logo.png"
|
|
to = "/brands/_/_placeholder/logo.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/dark_icon@2x.png"
|
|
to = "/brands/_/_placeholder/icon@2x.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|
|
|
|
[[redirects]]
|
|
from = "/brands/_/*/dark_logo@2x.png"
|
|
to = "/brands/_/_placeholder/logo@2x.png"
|
|
force = false
|
|
status = 302
|
|
headers = {Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"}
|