From e5639800a0f94a82cd32ae99efe7f0923a482ccb Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sun, 27 Feb 2022 13:35:52 +0200 Subject: #230 fix in original repo --- netlify.toml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'netlify.toml') diff --git a/netlify.toml b/netlify.toml index 5c1526a..49a68ff 100644 --- a/netlify.toml +++ b/netlify.toml @@ -16,10 +16,7 @@ [context.branch-deploy] command = "hugo -b $DEPLOY_PRIME_URL" -[[headers]] - for = "/*.json" - [headers.values] +[headers] + for = ["/*.json", "/*.xml"] + [headers.values] Access-Control-Allow-Origin = "*" - for = "/*.xml" - [headers.values] - Access-Control-Allow-Origin = "*" \ No newline at end of file -- cgit v1.2.3-70-g09d2