Browse Source

#163 - Another potential fix for ? in atlantis production env

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

+ 3 - 0
apps/atlantis/index.html

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