diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 17f8dc4c..10756f88 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -33,6 +33,20 @@ const nextConfig: NextConfig = { ] }, skipTrailingSlashRedirect: true, + async redirects() { + return [ + { + source: "/new", + destination: "/", + permanent: true, + }, + { + source: "/new/:path*", + destination: "/:path*", + permanent: true, + }, + ] + }, } export default withSentryConfig(nextConfig, {