diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index e30b7c5..49b89b7 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -4,7 +4,7 @@ const get = function(elem) { }; // URL we're viewing ICEcoder from -const iceLoc = window.location.pathname; +const iceLoc = window.location.origin + window.location.pathname.replace("/", ""); // Main ICEcoder object var ICEcoder = {