From 114eb77c824b01265292b9b9541b90650e6eccde Mon Sep 17 00:00:00 2001 From: Eduard Gert Date: Thu, 6 Mar 2025 20:59:40 +0100 Subject: [PATCH] Add permanent redirect for /ipa routes (#271) --- next.config.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 52042a44..19f0e2fc 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -93,6 +93,11 @@ const nextConfig = { source: '/docs/:path*', destination: '/:path*', permanent: true, + }, + { + source: '/ipa/:path*', + destination: '/api/:path*', + permanent: true } ] },