diff --git a/next.config.js b/next.config.js index 8fce4a4..ab7b9c4 100644 --- a/next.config.js +++ b/next.config.js @@ -7,5 +7,18 @@ module.exports = { }, ) return config + }, + async headers() { + return [ + { + source: '/(.*)?', // Matches all pages + headers: [ + { + key: 'X-Frame-Options', + value: 'SAMEORIGIN', + } + ] + } + ] } }