diff --git a/website/netlify.toml b/website/netlify.toml index aa031cade..103ebb3f9 100644 --- a/website/netlify.toml +++ b/website/netlify.toml @@ -8,5 +8,12 @@ for = "/build/*" [headers.values] cache-control = "public, max-age=31536000, s-maxage=31536000, immutable" +[[headers]] + for = "/assets/*" + [headers.values] + cache-control = "public, max-age=31536000, s-maxage=31536000, immutable" +[[headers]] + for = "/assets/*-index.min.js" + [headers.values] # This is a temporary solution to be able to load the Valibot library into the playground iframe access-control-allow-origin = "*" \ No newline at end of file