diff --git a/next.config.mjs b/next.config.mjs index 9d6a08a..cf3f647 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,26 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + async headers() { + return [ + { + source: '/(.*)', + headers: [ + { + key: 'X-Content-Type-Options', + value: 'nosniff', + }, + { + key: 'X-Frame-Options', + value: 'DENY', + }, + { + key: 'Referrer-Policy', + value: 'strict-origin-when-cross-origin', + }, + ], + }, + ] + }, images: { dangerouslyAllowSVG: true, remotePatterns: [