Skip to content

Commit

Permalink
move to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolakoua committed Dec 19, 2023
1 parent cfe30f0 commit 87dbbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if (window.location.hostname === 'amadeus4dev.github.io') {
const path = window.location.pathname;
const redirectPattern = /^\/([^/]+)/;
const redirectUrl = path.replace(redirectPattern, 'https://uat.developers.amadeus.com/self-service/apis-docs/guides/$1');
const redirectUrl = path.replace(redirectPattern, 'https://developers.amadeus.com/self-service/apis-docs/guides/$1');
document.write(`<meta http-equiv="refresh" content="0;url=${redirectUrl}" />`);
}
</script>
Expand Down

0 comments on commit 87dbbc3

Please sign in to comment.