diff --git a/next.config.ts b/next.config.ts index 3ef87fe..c0a54b4 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,38 +1,28 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - // Required for Docker standalone build - output: 'standalone', - - /* config options here */ + output: "standalone", + images: { + unoptimized: true, // ✅ disable Next.js optimization remotePatterns: [ { - protocol: 'https', - hostname: 'images.unsplash.com', - port: '', - pathname: '/**', + protocol: "https", + hostname: "images.unsplash.com", + pathname: "/**", }, { - protocol: 'http', - hostname: 'localhost', - port: '8080', - pathname: '/api/files/images/**', + protocol: "https", + hostname: "cmcbackend.rootxwire.com", + pathname: "/**", }, { - protocol: 'https', - hostname: 'cmcbackend.rootxwire.com', - pathname: '/api/files/images/**', + protocol: "https", + hostname: "maincmc.rootxwire.com", + pathname: "/**", }, - { - protocol: 'https', - hostname: 'maincmc.rootxwire.com', - pathname: '/**', - } ], - // Minimize cache issues in production - minimumCacheTTL: 60, }, }; -export default nextConfig; \ No newline at end of file +export default nextConfig;