/** @type {import('next').NextConfig} */
const nextConfig = {
    output: 'standalone',
    images: {

        remotePatterns: [
            {
                protocol: 'https',
                hostname: 'newgarage.yslootahtech.com',
                port: '',
                pathname: '/**',
            },
            {
                protocol: 'http',
                hostname: 'reparee.test',
                port: '',
                pathname: '/**',
            },
            {
                protocol: 'https',
                hostname: 'reparee.test',
                port: '',
                pathname: '/**',
            },
            {
                protocol: 'https',
                hostname: 'api.reparee.com',
                port: '',
                pathname: '/**',
            },
            {
                protocol: 'https',
                hostname: 'reparee.com',
                port: '',
                pathname: '/**',
            },
            {
                protocol: 'https',
                hostname: 'tenant.reparee.com',
                port: '',
                pathname: '/**',
            },
            {
                protocol: 'https',
                hostname: process.env.NEXT_PUBLIC_GARAGE_HOST_PATTERN ?? '*.reparee.com',
                port: '',
                pathname: '/**',
            }
        ]
    }
}

export default nextConfig
