30 lines
643 B
TypeScript
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;
|