mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
fix: unoptimize images
ITS SLOWING DOWN THE SITE SO MUCH IT'S OFFLINE
This commit is contained in:
parent
b01dd799dc
commit
c1f3eacd03
1 changed files with 1 additions and 28 deletions
|
|
@ -4,34 +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",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
hostname: "*.googleusercontent.com",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue