The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
feat: security headers
nsylke95a40400af1a
diff --git a/apps/marketing/next.config.js b/apps/marketing/next.config.jsindex 97f904cf0..2783e4063 100644--- a/apps/marketing/next.config.js+++ b/apps/marketing/next.config.js@@ -18,6 +18,40 @@ const config = {transform: 'lucide-react/dist/esm/icons/{{ kebabCase member }}',},},+ async headers() {+ return [+ {+ source: '/:path*',+ headers: [+ {+ key: 'x-dns-prefetch-control',+ value: 'on',+ },+ {+ key: 'strict-transport-security',+ value: 'max-age=31536000; includeSubDomains; preload',+ },+ {+ key: 'x-frame-options',+ value: 'SAMEORIGIN',+ },+ {+ key: 'x-content-type-options',+ value: 'nosniff',+ },+ {+ key: 'referrer-policy',+ value: 'strict-origin-when-cross-origin',+ },+ {+ key: 'permissions-policy',+ value:+ 'accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=()',+ },+ ],+ },+ ];+ },};module.exports = withContentlayer(config);