35 lines
633 B
TypeScript
35 lines
633 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
eslint: { ignoreDuringBuilds: true },
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
hostname: "cdn.sanity.io",
|
|
pathname: "/images/**",
|
|
protocol: "https",
|
|
},
|
|
{
|
|
hostname: "lh3.googleusercontent.com",
|
|
pathname: "**",
|
|
protocol: "https",
|
|
},
|
|
],
|
|
},
|
|
headers: async () => {
|
|
return [
|
|
{
|
|
source: "/:path*",
|
|
headers: [
|
|
{
|
|
key: "X-Frame-Options",
|
|
value: "ALLOWALL",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|