Files
cmc_frontend/next.config.ts
2025-10-09 20:05:39 +05:30

30 lines
643 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'images.unsplash.com',
port: '',
pathname: '/**',
},
{
protocol: 'http',
hostname: 'localhost',
port: '8080',
pathname: '/api/files/images/**',
},
{
protocol: 'https',
hostname: 'yourproductiondomain.com', // Replace with your production domain
pathname: '/api/files/images/**',
}
],
domains: ['localhost'],
},
};
export default nextConfig;