Skip to content

Commit 4c3b178

Browse files
committed
Add CORS headers for data.json endpoint
1 parent 773b9cd commit 4c3b178

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

netlify.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,9 @@
1414
[[redirects]]
1515
from = "/_astro/PCD2026_og-image_tinyfied*"
1616
to = "/og-image.png"
17-
status = 301
17+
status = 301
18+
19+
[[headers]]
20+
for = "/data.json"
21+
[headers.values]
22+
Access-Control-Allow-Origin = "*"

0 commit comments

Comments
 (0)