diff --git a/next.config.js b/next.config.js index d8029eeca..439b2e4bf 100644 --- a/next.config.js +++ b/next.config.js @@ -64,7 +64,7 @@ module.exports = { async redirects() { return [ { - source: "/learn", + source: "/learn/:path*", destination: "/404", permanent: false, },