From 3589ed59aa3aa3f55a7f41edf468cf0ba1a657ee Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Sun, 10 Sep 2023 15:37:59 -0400 Subject: [PATCH] Add CORS response headers (#4652) --- netlify.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netlify.toml b/netlify.toml index ef450a73..1b8135f8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -6,16 +6,19 @@ for = "/_/_placeholder/*.png" [headers.values] Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate" + Access-Control-Allow-Origin = "*" [[headers]] for = "/*.png" [headers.values] Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate" + Access-Control-Allow-Origin = "*" [[headers]] for = "/domains.json" [headers.values] Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate" + Access-Control-Allow-Origin = "*" [[redirects]] from = "/"