set Access-Control-Allow-Origin in netlify config
This commit is contained in:
parent
2c39eba5a6
commit
6e91d32813
|
@ -1,8 +1,13 @@
|
||||||
[build]
|
[build]
|
||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
command = "cd exampleSite && hugo --gc --themesDir ../.."
|
command = "cd exampleSite && hugo --themesDir ../.."
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.72.0"
|
HUGO_VERSION = "0.72.0"
|
||||||
HUGO_THEME = "repo"
|
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 = "*"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user