import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", async headers() { return [ { source: "/(.*)", headers: [ { key: "Content-Security-Policy", value: [ "default-src 'self'", "script-src 'self' 'unsafe-inline' 'unsafe-eval'", "style-src 'self' 'unsafe-inline'", "img-src 'self' data:", "font-src 'self'", "connect-src 'self'", "frame-ancestors 'none'", ].join("; "), }, { key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=()", }, ], }, ]; }, }; export default nextConfig;