Skip to content

Commit

Permalink
revision
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolakoua authored Dec 18, 2023
1 parent f551876 commit 88944a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = /^\/([^/]+)/;
Expand Down

0 comments on commit 88944a8

Please sign in to comment.