diff --git a/overrides/main.html b/overrides/main.html
index 5854b5a8..70c3205e 100644
--- a/overrides/main.html
+++ b/overrides/main.html
@@ -24,9 +24,10 @@
if (target.tagName === 'A') {
console.log('we are in the first if');
var href = target.getAttribute('href');
- if (href.startsWith('https://developers.amadeus.com')) {
+ if (href.includes('developers.amadeus.com')) {
console.log('we are in the second if');
event.preventDefault();
+ console.log('href:', href);
window.location.href = href;
}
}