38 lines
822 B
TypeScript
38 lines
822 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Required for Docker standalone build
|
|
output: 'standalone',
|
|
|
|
/* 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: 'cmcbackend.rootwire.com',
|
|
pathname: '/api/files/images/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'maincmc.rootwire.com',
|
|
pathname: '/**',
|
|
}
|
|
],
|
|
// Minimize cache issues in production
|
|
minimumCacheTTL: 60,
|
|
},
|
|
};
|
|
|
|
export default nextConfig; |