Skip to content

Commit

Permalink
update hostname check
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolakoua authored Dec 18, 2023
1 parent 6086e1d commit 61c7e8f
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 @@ -5,7 +5,7 @@
{% extends "base.html" %}
{% block extrahead %}
<script>
if (window.location.hostname === 'amadeus4dev.github.io') {
if (window.location.hostname === 'amadeus4dev.github.io' || window.location.hostname === 'developer.amadeus.com') {
console.log('first script');
const path = window.location.pathname;
const redirectPattern = /^\/([^/]+)/;
Expand Down

0 comments on commit 61c7e8f

Please sign in to comment.