feat(SW-1273): find my booking page with rudimentary validation and redirect
This commit is contained in:
@@ -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",
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user