Adding url for retrieving the bot from the canvas page

This commit is contained in:
mati108@gmail.com committed 2018-10-19 10:06:38 -03:00
1 parent a798e06b1a
commit 05f330a0fe
1 file changed
+2 -2
+2 -2
View File
@@ -18,7 +18,7 @@
if (INFO_LOG === true) { logger.write(MODULE_NAME, "[INFO] downloadBot -> Entering function."); }
let filePath = "Bots" + "/" + pFilePath + "/" + "User.Bot.js";
let filePath = window.URL_PREFIX + "Bots" + "/" + pFilePath + "/" + "User.Bot.js";
downloadModule(filePath, onDownloaded)
@@ -41,7 +41,7 @@
if (INFO_LOG === true) { logger.write(MODULE_NAME, "[INFO] downloadCommons -> Entering function."); }
let filePath = "Bots" + "/" + pFilePath + "/" + "Commons.js";
let filePath = window.URL_PREFIX + "Bots" + "/" + pFilePath + "/" + "Commons.js";
downloadModule(filePath, onDownloaded)