mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Set path and origin incase ICEcoder is in root of wwwroot
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user