Skip to content

Commit

Permalink
test workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadim Ritter committed Aug 23, 2024
1 parent fa80039 commit 62fe247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
console.log(path[path.length-1])

if (path.length >= 1 && path[path.length-1] == "/"){
path = "";
path = path.substring(0, path.length-1);
}

console.log("final path: " + path)

// Dynamically set the src of the script
const script = document.createElement('script');
script.src = `${path}/env.js`;
Expand Down

0 comments on commit 62fe247

Please sign in to comment.