From 032a4b67f10ad2b0b5d976b90ed079123c9b701b Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Sat, 1 Mar 2025 19:48:15 -0600 Subject: [PATCH] fix(www): 404 null error #7 --- apps/www/next.config.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 apps/www/next.config.js diff --git a/apps/www/next.config.js b/apps/www/next.config.js new file mode 100644 index 0000000..0ce5372 --- /dev/null +++ b/apps/www/next.config.js @@ -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;