github.com/esnet/gdg@v0.6.1-0.20240412190737-6b6eba9c14d8/website/netlify.toml (about) 1 [build] 2 publish = "public" 3 functions = "functions" 4 5 [build.environment] 6 NODE_VERSION = "18.16.1" 7 NPM_VERSION = "9.5.1" 8 9 [context.production] 10 command = "pnpm build" 11 12 [context.deploy-preview] 13 command = "pnpm build -- -b $DEPLOY_PRIME_URL" 14 15 [context.branch-deploy] 16 command = "pnpm build -- -b $DEPLOY_PRIME_URL" 17 18 [context.next] 19 command = "pnpm build" 20 21 [context.next.environment] 22 HUGO_ENV = "next" 23 24 [dev] 25 framework = "#custom" 26 command = "pnpm dev" 27 targetPort = 1313 28 port = 8888 29 publish = "public" 30 autoLaunch = false 31 32 # Redirects and rewrites — https://docs.netlify.com/routing/redirects/#syntax-for-the-netlify-configuration-file 33 34 # Custom headers — https://docs.netlify.com/routing/headers/#syntax-for-the-netlify-configuration-file 35 [[headers]] 36 for = "/*" 37 [headers.values] 38 Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" 39 X-Content-Type-Options = "nosniff" 40 X-XSS-Protection = "1; mode=block" 41 Content-Security-Policy = "default-src 'self'; manifest-src 'self'; connect-src 'self'; font-src 'self'; img-src 'self' https://avatars.githubusercontent.com data:; script-src 'self' 'nonce-dXNlcj0iaGVsbG8iLGRvbWFpbj0iaGVua3ZlcmxpbmRlLmNvbSIsZG9jdW1lbnQud3JpdGUodXNlcisiQCIrZG9tYWluKTs=' 'sha256-aWZ3y/RxbBYKHXH0z8+8ljrHG1mSBvyzSfxSMjBSaXk='; style-src 'self'" 42 X-Frame-Options = "SAMEORIGIN" 43 Referrer-Policy = "strict-origin" 44 Permissions-Policy = "geolocation=(self), microphone=(), camera=()" 45 Cache-Control= ''' 46 public, 47 max-age=31536000''' 48 Access-Control-Allow-Origin = "*"