From 0fb5fa29ad36d3f1fd0df7f2b13053cad3af9d2f Mon Sep 17 00:00:00 2001 From: Predrag Stojadinovic Date: Fri, 17 May 2024 13:31:59 +0200 Subject: [PATCH] chore: fixing the human readable confluence url fetch baseUrl --- collector/utils/extensions/Confluence/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/collector/utils/extensions/Confluence/index.js b/collector/utils/extensions/Confluence/index.js index 00428d5b..c61e0b3e 100644 --- a/collector/utils/extensions/Confluence/index.js +++ b/collector/utils/extensions/Confluence/index.js @@ -101,7 +101,10 @@ async function loadConfluence({ pageUrl, username, accessToken }) { const outFolderPath = process.env.NODE_ENV === "development" - ? path.resolve(__dirname, `../../../../server/storage/documents/${outFolder}`) + ? path.resolve( + __dirname, + `../../../../server/storage/documents/${outFolder}` + ) : path.resolve(process.env.STORAGE_DIR, `documents/${outFolder}`); if (!fs.existsSync(outFolderPath)) {