set Access-Control-Allow-Origin in netlify config

This commit is contained in:
zwbetz-gh 2020-11-24 21:09:58 -06:00
parent 2c39eba5a6
commit 6e91d32813

View File

@ -1,8 +1,13 @@
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --gc --themesDir ../.."
command = "cd exampleSite && hugo --themesDir ../.."
[build.environment]
HUGO_VERSION = "0.72.0"
HUGO_THEME = "repo"
HUGO_BASEURL = "https://cupper-hugo-theme.netlify.com/"
HUGO_BASEURL = "https://cupper-hugo-theme.netlify.com"
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"