diff --git a/overrides/main.html b/overrides/main.html
index d68288a8..df163567 100644
--- a/overrides/main.html
+++ b/overrides/main.html
@@ -9,9 +9,9 @@
console.log(window.location.hostname);
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://uat.developers.amadeus.com/self-service/apis-docs/guides/$1');
document.write(`
`);
}
- {% endblock %}
\ No newline at end of file
+ {% endblock %}