Files
GNX-WEB/gnx-react/next.config.js
Iliyan Angelov fe26b7cca4 GNXSOFT.COM
2025-09-26 00:15:37 +03:00

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