Skip to content

Commit d67eabe

Browse files
committed
Add CORS header to netlify.toml
1 parent 661cc23 commit d67eabe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

netlify.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ status = 200
4343
from = "/api/v2/:endpoint/:id/:extra"
4444
to = "/api/v2/:endpoint/:id/:extra/index.json"
4545
status = 200
46+
47+
[[headers]]
48+
for = "/*"
49+
[headers.values]
50+
Access-Control-Allow-Origin = "*"

0 commit comments

Comments
 (0)