zmk_mf68/docs/netlify.toml
Joel Spadin 1293175744 fix(docs): Allow CORS for hardware-metadata.json
Enabled CORS so external tools can fetch the metadata file.
2022-03-30 07:13:13 -04:00

22 lines
No EOL
498 B
TOML

[build]
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../app/boards/"
[[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 = "*"