fix: disable optimizing images

for 22fb3a2e
This commit is contained in:
trafficlunar 2026-03-14 13:17:02 +00:00
parent 69402d6521
commit 320f7fbc7e

View file

@ -4,31 +4,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
output: "standalone", output: "standalone",
images: { images: {
localPatterns: [ unoptimized: true,
{
pathname: "/mii/*/image",
},
{
pathname: "/profile/*/picture",
},
{
pathname: "/tutorial/**",
},
{
pathname: "/guest.png",
},
],
remotePatterns: [
{
hostname: "avatars.githubusercontent.com",
},
{
hostname: "cdn.discordapp.com",
},
{
hostname: "studio.mii.nintendo.com",
},
],
}, },
}; };