Skip to content

Commit

Permalink
netlify에 cors추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jaerius committed Jun 7, 2024
1 parent e365b4f commit f95c196
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spirograph/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@
from = "/"
to = "/.netlify/functions/"
status = 200

[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, POST, PUT, DELETE, OPTIONS"
Access-Control-Allow-Headers = "Content-Type, Authorization"

0 comments on commit f95c196

Please sign in to comment.