Skip to content

Commit

Permalink
CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwf committed Dec 6, 2023
1 parent ea4d2bd commit 5c3ca74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .iiifrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server:
url: https://main--strong-gaufre-f689bf.netlify.app
url: https://strong-gaufre-f689bf.netlify.app

# Run these everywhere.
run:
Expand Down
10 changes: 10 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[[redirects]]
from = "/"
to = "/collection.json"
status = 200

[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"

0 comments on commit 5c3ca74

Please sign in to comment.