chore: remove invalid config option from next.config.js

This commit is contained in:
Henry
2026-02-02 22:22:00 +00:00
parent ac040e8cad
commit bdebc3917f

View File

@@ -53,7 +53,6 @@ const config = {
{ {
protocol: 'https', protocol: 'https',
hostname: 'cdn.discordapp.com', hostname: 'cdn.discordapp.com',
pathname: '/avatars/**',
}, },
]; ];
@@ -95,12 +94,6 @@ const config = {
swcPlugins: [["@lingui/swc-plugin", {}]], swcPlugins: [["@lingui/swc-plugin", {}]],
}, },
api: {
bodyParser: {
sizeLimit: env("NEXT_API_BODY_SIZE_LIMIT") || '1mb',
},
},
async rewrites() { async rewrites() {
return [ return [
{ {