2026-02-01 22:25:28 +05:30
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2026-02-07 19:07:02 +00:00
|
|
|
// In dev, Next may proxy requests based on the request origin/host.
|
|
|
|
|
// Allow common local origins so `next dev --hostname 127.0.0.1` works
|
|
|
|
|
// when users access via http://localhost:3000 or http://127.0.0.1:3000.
|
|
|
|
|
// Keep the LAN IP as well for dev on the local network.
|
|
|
|
|
allowedDevOrigins: ["192.168.1.101", "localhost", "127.0.0.1"],
|
2026-02-04 20:21:33 +05:30
|
|
|
images: {
|
|
|
|
|
remotePatterns: [
|
|
|
|
|
{
|
|
|
|
|
protocol: "https",
|
|
|
|
|
hostname: "img.clerk.com",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2026-02-01 22:25:28 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|