diyaa.de/next.config.js
2026-03-13 03:45:13 +01:00

38 lines
816 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: "standalone",
poweredByHeader: false,
async headers() {
return [
{
source: "/:path*",
headers: [
{
key: "Referrer-Policy",
value: "strict-origin-when-cross-origin",
},
{
key: "X-Content-Type-Options",
value: "nosniff",
},
{
key: "X-Frame-Options",
value: "SAMEORIGIN",
},
{
key: "Permissions-Policy",
value: "camera=(), microphone=(), geolocation=()",
},
{
key: "X-DNS-Prefetch-Control",
value: "on",
},
],
},
];
},
};
module.exports = nextConfig;