feat(SW-705): Updated URLs for hotelreservation

This commit is contained in:
Pontus Dreij
2024-11-18 14:05:07 +01:00
committed by Joakim Jäderberg
parent 293800f024
commit e078c59ac1
3 changed files with 8 additions and 32 deletions

View File

@@ -2,7 +2,6 @@ import createJiti from "jiti"
import { fileURLToPath } from "url"
import { login, logout } from "./constants/routes/handleAuth.js"
import { hotelReservation } from "./constants/routes/hotelReservation.js"
import { myPages } from "./constants/routes/myPages.js"
const path = fileURLToPath(new URL(import.meta.url))
@@ -278,26 +277,6 @@ const nextConfig = {
source: `${myPages.sv}/:path*`,
destination: `/sv/my-pages/:path*`,
},
{
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*",
},
],
}
},