mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-10 17:00:11 +01:00
chore: fixing the human readable confluence url fetch baseUrl
This commit is contained in:
parent
b0497d3caf
commit
0fb5fa29ad
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user