Skip to content

Full Toolkit for Next-Level Domain Analysis

Add basic security headers 🔒🛡️

Felix Wotschofsky7686af1c928d
diff --git a/next.config.js b/next.config.js
index fe22edc..eb56190 100644
--- a/next.config.js
+++ b/next.config.js
@@ -51,6 +51,21 @@ const nextConfig = {
permanent: true,
},
],
+ headers: async () => [
+ {
+ source: '/:path*',
+ headers: [
+ {
+ key: 'X-Frame-Options',
+ value: 'SAMEORIGIN',
+ },
+ {
+ key: 'X-Content-Type-Options',
+ value: 'nosniff',
+ },
+ ],
+ },
+ ],
experimental: {
webpackBuildWorker: true,
staleTimes: {