diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-24 18:34:13 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-24 18:34:27 +0200 |
| commit | c4f56a567b3f8a0f8b4cab4c3e8dcdaaf035545a (patch) | |
| tree | de752f93288b8b645bd597e25c1a6f0eb5fa3758 /netlify.toml | |
| parent | fd135ee9ddb02996ec4f9d71b16d9b3db235f2c9 (diff) | |
| download | gohugo-theme-ed-c4f56a567b3f8a0f8b4cab4c3e8dcdaaf035545a.tar.gz | |
Add script to path netlify.toml file to allow some violation for CSP header
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlify.toml b/netlify.toml index ad12e64..4f5521d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -27,7 +27,7 @@ # Deploy Preview context: all deploys generated from # a pull/merge request will inherit these settings. [context.deploy-preview] - command = './netlify-update-csp-headers.rb; hugo --source=exampleSite --buildDrafts --buildFuture --baseURL ${DEPLOY_PRIME_URL} --destination ../public' + command = 'go run netlify-pr.go; hugo --source=exampleSite --buildDrafts --buildFuture --baseURL ${DEPLOY_PRIME_URL} --destination ../public' [context.deploy-preview.environment] HUGO_ENV = 'development' |
