Enable CORS for index.html

main
Isaiah Odhner 2019-10-09 23:24:43 -04:00
parent 49785bc415
commit 59d17eb5ea
1 changed files with 17 additions and 0 deletions

17
netlify.toml Normal file
View File

@ -0,0 +1,17 @@
[[headers]]
# Define which paths this specific [[headers]] block will cover.
for = "/"
[headers.values]
Access-Control-Allow-Origin = "*"
# X-XSS-Protection = "1; mode=block"
# Content-Security-Policy = "frame-ancestors"
# Multi-key header rules are expressed with multi-line strings.
# cache-control = '''
# max-age=0,
# no-cache,
# no-store,
# must-revalidate'''