turned template into create cli
This commit is contained in:
34
template/apps/client/next.config.ts
Normal file
34
template/apps/client/next.config.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user