Files
landing_page/netlify.toml
T
Andrey Vasnetsov 9121d39586 only render google analytics on production (#526)
* only render google analytics on production

* explicitly set env to staging
2024-01-15 01:57:43 +01:00

23 lines
537 B
TOML

[build]
publish = "qdrant-landing/public"
command = "cd qdrant-landing ; hugo --gc --minify"
[build.environment]
HUGO_VERSION = "0.93.3"
[context.production.environment]
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview.environment]
HUGO_ENV = "staging"
[context.deploy-preview]
command = "cd qdrant-landing ; echo $HUGO_ENV ; hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"