next.config.ts:import type { NextConfig } from "next";
const nextConfig: NextConfig = {
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'Content-Security-Policy',
value: "frame-ancestors *",
},
],
},
];
},
};
export default nextConfig;value: "frame-ancestors 'self' https://fireapi.io http://localhost:5173",?token=xxxxx