feat(SW-1273): find my booking page with rudimentary validation and redirect

This commit is contained in:
Christian Andolf
2025-02-25 15:27:40 +01:00
parent 7711f78ab3
commit 85cd815968
19 changed files with 324 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ const nextConfig = {
output: "standalone",
webpack: function (config, options) {
webpack: function (config) {
config.module.rules.push(
{
test: /\.(graphql|gql)/,
@@ -273,6 +273,31 @@ const nextConfig = {
destination:
"/:lang/hotelreservation/payment-callback?status=:status",
},
// Find my booking
{
source: "/en/hotelreservation/get-booking",
destination: "/en/hotelreservation/get-booking",
},
{
source: "/no/hotelreservation/get-booking",
destination: "/no/hotelreservation/get-booking",
},
{
source: "/da/hotelreservation/hent-booking",
destination: "/da/hotelreservation/get-booking",
},
{
source: "/de/hotelreservation/mein-bereich",
destination: "/de/hotelreservation/get-booking",
},
{
source: "/fi/hotelreservation/hae-varaus",
destination: "/fi/hotelreservation/get-booking",
},
{
source: "/sv/hotelreservation/hitta-bokning",
destination: "/sv/hotelreservation/get-booking",
},
],
}
},