2025-07-27 01:33:53 +02:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
2025-07-29 05:15:33 +02:00
|
|
|
images: {
|
|
|
|
|
remotePatterns: [
|
|
|
|
|
{
|
|
|
|
|
protocol: "https",
|
|
|
|
|
hostname: "cdn.discordapp.com",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
protocol: "https",
|
|
|
|
|
hostname: "mc-heads.net",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
async redirects() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: "/@:username",
|
|
|
|
|
destination: "/user/:username",
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2025-07-29 05:33:37 +02:00
|
|
|
typescript: {
|
|
|
|
|
ignoreBuildErrors: true,
|
|
|
|
|
},
|
2025-07-27 01:33:53 +02:00
|
|
|
};
|
|
|
|
|
|
2025-07-29 05:15:33 +02:00
|
|
|
export default nextConfig;
|