fix(www): 404 null error #7

This commit is contained in:
dvelo 2025-03-01 19:48:15 -06:00
parent 299e34d21f
commit 032a4b67f1

33
apps/www/next.config.js Normal file

@ -0,0 +1,33 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "img.clerk.com",
},
],
},
async redirects() {
return [
{
source: "/docs",
destination: "/docs/getting-started",
permanent: true,
},
];
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
output: "standalone",
experimental: {
// Disable static error pages generation
staticPageGenerationTimeout: 0,
},
};
export default nextConfig;