fix(docs): Allow CORS for hardware-metadata.json

Enabled CORS so external tools can fetch the metadata file.
This commit is contained in:
Joel Spadin 2022-03-30 00:47:27 -05:00 committed by Pete Johanson
parent 59d2744a4f
commit 1293175744
1 changed files with 6 additions and 1 deletions

View File

@ -14,4 +14,9 @@
[[redirects]]
from = "https://www.zmkfirmware.dev/*"
to = "https://www.zmk.dev/:splat"
force = true
force = true
[[headers]]
for = "/hardware-metadata.json"
[headers.values]
Access-Control-Allow-Origin = "*"