import type { NextConfig } from "next"; const nextConfig: NextConfig = { async headers() { return [ { source: "/:path*", headers: [ { key: "Cross-Origin-Opener-Policy", value: "same-origin", }, { key: "Cross-Origin-Embedder-Policy", value: "require-corp", }, { key: "Cross-Origin-Resource-Policy", value: "cross-origin", }, ], }, ]; }, }; export default nextConfig;