next.js/examples/cms-builder-io/next.config.js
next.config.js28 lines545 B
/** @type {import('next').NextConfig} */
module.exports = {
  images: {
    remotePatterns: [
      {
        protocol: "https",
        hostname: "cdn.builder.io",
        port: "",
        pathname: "/my-account/**",
      },
    ],
  },
  async headers() {
    return [
      {
        source: "/:path*",
        headers: [
          {
            key: "Content-Security-Policy",
            value:
              "frame-ancestors https://*.builder.io https://builder.io http://localhost:1234",
          },
        ],
      },
    ];
  },
};
Quest for Codev2.0.0
/
SIGN IN