Skip to content

Commit

Permalink
Merge pull request #224 from amadeus4dev/UAT
Browse files Browse the repository at this point in the history
Target UAT for testing
  • Loading branch information
minjikarin authored Jan 15, 2024
2 parents 8517401 + fbba523 commit afc3807
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 @@ -9,7 +9,7 @@
if (window.location.hostname === 'amadeus4dev.github.io') {
const path = window.location.pathname;
const redirectPattern = /^\/([^/]+)/;
const redirectUrl = path.replace(redirectPattern, 'https://developers.amadeus.com/self-service/apis-docs/guides/$1');
const redirectUrl = path.replace(redirectPattern, 'https://uat.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 afc3807

Please sign in to comment.