Browse Source

#163 - Potential fix for ? in atlantis production env

Elena Cristina Raffay Iglesias 1 year ago
parent
commit
7304edd44e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      apps/atlantis/index.html

+ 3 - 0
apps/atlantis/index.html

@@ -19,6 +19,9 @@
19 19
     // Update the link urls
20 20
     for (var i = 0; i < links.length; ++i) {
21 21
       links[i].href = links[i].href.replace('exp://REPLACE_ME', baseUri);
22
+      if(!baseUri.includes("?")){
23
+        links[i].href = links[i].href.concat("?");
24
+      }
22 25
     }
23 26
     var redirectInterval = setInterval(function() {
24 27
       var countdown = document.querySelector('.countdown');