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
|
@ -15,3 +15,8 @@
|
||||||
from = "https://www.zmkfirmware.dev/*"
|
from = "https://www.zmkfirmware.dev/*"
|
||||||
to = "https://www.zmk.dev/:splat"
|
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