zmk/docs/netlify.toml

22 lines
466 B
TOML

[build]
ignore = "bash ./netlify-ignore-command.sh"
[[redirects]]
from = "/community/discord/invite"
to = "https://discord.gg/sycytVQ"
status = 302
[[redirects]]
from = "https://zmkfirmware.dev/*"
to = "https://zmk.dev/:splat"
force = true
[[redirects]]
from = "https://www.zmkfirmware.dev/*"
to = "https://www.zmk.dev/:splat"
force = true
[[headers]]
for = "/hardware-metadata.json"
[headers.values]
Access-Control-Allow-Origin = "*"