26 lines
598 B
JavaScript
26 lines
598 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
allowedDevOrigins: ["*.localhost", "*.local", "*.127.0.0.1", "*.0.0.0.0"],
|
|
images: {
|
|
minimumCacheTTL: 43200, // 12 hours
|
|
dangerouslyAllowSVG: true,
|
|
dangerouslyAllowLocalIP: process.env.NODE_ENV === "development",
|
|
remotePatterns: [
|
|
{
|
|
protocol: "http",
|
|
hostname: "localhost",
|
|
port: "3000",
|
|
pathname: "/**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "placehold.co",
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|