fix: rewrite eng myPages and rename urls for my pages urls

This commit is contained in:
Christel Westerberg
2024-06-10 13:30:22 +02:00
parent fe21e74b7f
commit dc8e452a58
2 changed files with 8 additions and 5 deletions

View File

@@ -60,7 +60,10 @@ const nextConfig = {
{ source: login.fi, destination: "/fi/login" },
{ source: login.no, destination: "/no/login" },
{ source: login.sv, destination: "/sv/login" },
{
source: `${myPages.en}/:path*`,
destination: `/en/my-pages/:path*`,
},
{
source: `${myPages.da}/:path*`,
destination: `/da/my-pages/:path*`,