first commit
This commit is contained in:
25
next.config.mjs
Normal file
25
next.config.mjs
Normal file
@@ -0,0 +1,25 @@
|
||||
/** @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;
|
||||
Reference in New Issue
Block a user