Skip to content

Commit

Permalink
Move headers config to netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-hiller committed Mar 1, 2024
1 parent cf316b9 commit 689770e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion website/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

# Netlify headers config
[[headers]]
# This is a temporary solution to be able to load the Valibot library into the playground iframe
for = "/build/*"
[headers.values]
cache-control = "public, max-age=31536000, s-maxage=31536000, immutable"
# This is a temporary solution to be able to load the Valibot library into the playground iframe
access-control-allow-origin = "*"
2 changes: 0 additions & 2 deletions website/public/_headers

This file was deleted.

0 comments on commit 689770e

Please sign in to comment.