feat: change rewrite in next config
This commit is contained in:
@@ -102,11 +102,26 @@ const nextConfig = {
|
||||
source: `${myPages.sv}/:path*`,
|
||||
destination: `/sv/my-pages/:path*`,
|
||||
},
|
||||
{ source: hotelReservation.da, destination: "/da/hotelreservation" },
|
||||
{ source: hotelReservation.de, destination: "/de/hotelreservation" },
|
||||
{ source: hotelReservation.fi, destination: "/fi/hotelreservation" },
|
||||
{ source: hotelReservation.no, destination: "/no/hotelreservation" },
|
||||
{ source: hotelReservation.sv, destination: "/sv/hotelreservation" },
|
||||
{
|
||||
source: `${hotelReservation.da}/:path*`,
|
||||
destination: "/da/hotelreservation/:path*",
|
||||
},
|
||||
{
|
||||
source: `${hotelReservation.de}/:path*`,
|
||||
destination: "/de/hotelreservation/:path*",
|
||||
},
|
||||
{
|
||||
source: `${hotelReservation.fi}/:path*`,
|
||||
destination: "/fi/hotelreservation/:path*",
|
||||
},
|
||||
{
|
||||
source: `${hotelReservation.no}/:path*`,
|
||||
destination: "/no/hotelreservation/:path*",
|
||||
},
|
||||
{
|
||||
source: `${hotelReservation.sv}/:path*`,
|
||||
destination: "/sv/hotelreservation/:path*",
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user