fix(docs): Allow CORS for hardware-metadata.json
Enabled CORS so external tools can fetch the metadata file.
This commit is contained in:
parent
59d2744a4f
commit
1293175744
1 changed files with 6 additions and 1 deletions
|
@ -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 = "*"
|
Loading…
Reference in a new issue