Fixed Error in migrate-lists-to-per-swimlane migration.

Thanks to xet7 !

Fixes #5918
This commit is contained in:
Lauri Ojansivu 2025-10-13 20:34:23 +03:00
parent 9bd21e1d1b
commit cc99da5357
9 changed files with 157 additions and 135 deletions

View file

@ -40,7 +40,7 @@ if (Meteor.isServer) {
}
}
storagePath = path.join(process.env.WRITABLE_PATH, 'attachments');
storagePath = path.join(process.env.WRITABLE_PATH || process.cwd(), 'attachments');
}
export const fileStoreStrategyFactory = new FileStoreStrategyFactory(AttachmentStoreStrategyFilesystem, storagePath, AttachmentStoreStrategyGridFs, attachmentBucket);