44 lines
980 B
JavaScript
44 lines
980 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost',
|
|
port: '8000',
|
|
pathname: '/media/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'localhost',
|
|
port: '8000',
|
|
pathname: '/media/**',
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost',
|
|
port: '8080',
|
|
pathname: '/images/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'localhost',
|
|
port: '8080',
|
|
pathname: '/images/**',
|
|
},
|
|
// Add your production domain when ready
|
|
// {
|
|
// protocol: 'https',
|
|
// hostname: 'your-api-domain.com',
|
|
// pathname: '/media/**',
|
|
// },
|
|
],
|
|
},
|
|
sassOptions: {
|
|
includePaths: ['./public/styles', './node_modules'],
|
|
quietDeps: true, // Suppress deprecation warnings from dependencies
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|