Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwbetz-gh <zwbetz@gmail.com>2020-11-25 06:09:58 +0300
committerzwbetz-gh <zwbetz@gmail.com>2020-11-25 06:09:58 +0300
commit6e91d32813ea50cb744686d678a822106373f89b (patch)
treed0c7641216f659a0b9c80861a6b72fd76399af49
parent2c39eba5a60847e0c7ad14758223f042e0702349 (diff)
set Access-Control-Allow-Origin in netlify config
-rw-r--r--netlify.toml9
1 files changed, 7 insertions, 2 deletions
diff --git a/netlify.toml b/netlify.toml
index d8fd30c..abeb035 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -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/" \ No newline at end of file
+ HUGO_BASEURL = "https://cupper-hugo-theme.netlify.com"
+
+[[headers]]
+ for = "/*"
+ [headers.values]
+ Access-Control-Allow-Origin = "*"