feat: create route for hotel reservation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import createJiti from "jiti"
|
||||
|
||||
import { login, logout } from "./constants/routes/handleAuth.js"
|
||||
import { hotelReservation } from "./constants/routes/hotelReservation.js"
|
||||
import { myPages } from "./constants/routes/myPages.js"
|
||||
|
||||
const jiti = createJiti(new URL(import.meta.url).pathname)
|
||||
@@ -101,6 +102,11 @@ 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" },
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user