var PathName = window.location.pathname.substring(1); var ProjectName = PathName.substring(0, PathName.indexOf("/")); var URL = window.location.protocol + "//" + window.location.host + "/" + ProjectName;
var PathName = window.location.pathname.substring(1); var ProjectName = PathName.substring(0, PathName.indexOf("/")); var URL = window.location.protocol + "//" + window.location.host + "/" + ProjectName;