Files
frontend/next.config.ts

23 lines
684 B
TypeScript
Raw Normal View History

2025-12-19 01:19:18 +05:30
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Enable standalone output for Docker
output: "standalone",
// Image optimization
images: {
remotePatterns: [
{ protocol: "https", hostname: "*.contabostorage.com" },
{ protocol: "https", hostname: "*.amazonaws.com" },
{ protocol: "https", hostname: "*.digitaloceanspaces.com" },
{ protocol: "http", hostname: "localhost" },
{ protocol: "http", hostname: "127.0.0.1" },
],
// Don't proxy external images through Next.js server
// Avoids SSL cert issues with Contabo S3 (sin1.contabostorage.com)
unoptimized: true,
},
2025-12-19 01:19:18 +05:30
};
export default nextConfig;