Skip to content

Commit da49805

Browse files
ericyangpanclaude
andcommitted
config: disable image optimization in Next.js
Set unoptimized to true to disable Next.js automatic image optimization 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3e6aa69 commit da49805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const nextConfig: NextConfig = {
5959
dangerouslyAllowSVG: true,
6060
contentDispositionType: 'attachment',
6161
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
62-
unoptimized: false, // Ensure images are optimized
62+
unoptimized: true, // Ensure images are optimized
6363
remotePatterns: [
6464
// Add remote image domains here if needed
6565
// {

0 commit comments

Comments
 (0)