From 288ec34fb405a7d5803b0bd55065f536e8664135 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 1 Jun 2025 16:57:45 +0200 Subject: [PATCH] feat: redirect paths from specific languages --- next.config.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index adbc227..eec8fb8 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,6 +9,11 @@ const nextConfig = { destination: '/find', permanent: true, }, + { + source: '/:langcode(\\w{2})/:slug*', + destination: '/:slug*', + permanent: true, + }, ]; }, images: {