Skip to content

Let's use AI to Earn!

chore: disable Next.js image optimization to avoid proxy overhead

Sakura3ae9ccb7f222
diff --git a/project/aitoearn-web/next.config.mjs b/project/aitoearn-web/next.config.mjs
index d25340f4..dfed12b4 100644
--- a/project/aitoearn-web/next.config.mjs
+++ b/project/aitoearn-web/next.config.mjs
@@ -6,16 +6,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url))
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
- remotePatterns: [
- {
- protocol: 'https',
- hostname: '**',
- },
- {
- protocol: 'http',
- hostname: '**',
- },
- ],
+ unoptimized: true,
},
webpack(config) {
config.module.rules.push({