diff --git a/CloudVM/CloudRequire.js b/CloudVM/CloudRequire.js index 863d8f29f..403aa8809 100644 --- a/CloudVM/CloudRequire.js +++ b/CloudVM/CloudRequire.js @@ -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)