From 88944a839818502f654fe49a80bde4845c7c0ca5 Mon Sep 17 00:00:00 2001 From: Anna Tsolakou Date: Mon, 18 Dec 2023 20:14:38 +0100 Subject: [PATCH] revision --- overrides/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overrides/main.html b/overrides/main.html index d181759d..d5e6733c 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -5,8 +5,8 @@ window.addEventListener('DOMContentLoaded', (event) => { console.log('Script loaded'); - // Initial redirection logic - if (window.location.hostname === 'amadeus4dev.github.io' || window.location.hostname === 'developer.amadeus.com') { + // Redirection logic for initial load + if (window.location.hostname === 'amadeus4dev.github.io') { console.log('Initial redirection'); const path = window.location.pathname; const redirectPattern = /^\/([^/]+)/;