diff --git a/netlify.toml b/netlify.toml index 2460f7a5..da343c94 100644 --- a/netlify.toml +++ b/netlify.toml @@ -40,6 +40,16 @@ # The most important headers and redirects are specified in the _headers and # _redirects files generated by Hugo. These are additional custom rules. +# Universal headers +[[headers]] + for = "/*" + [headers.values] + # Needed to fix utteranc.es + CORS issues. + # Cringey but not a huge deal for this site. + Access-Control-Allow-Origin = "*" + # 🐄🐄🐄 + X-Got-Milk = "2%" + # PGP file: open in browser, download correctly [[headers]] for = "/jarvis.asc" @@ -55,12 +65,6 @@ [headers.values] Content-Type = "text/plain; charset=UTF-8" -# 🐄 -[[headers]] - for = "/*" - [headers.values] - X-Got-Milk = "2%" - # Redirect Netlify and www subdomains to primary domain: [[redirects]] from = "https://jakejarvis.netlify.com/*"