mirror of
https://github.com/wekan/wekan.git
synced 2026-02-26 09:54:08 +01:00
Fixed Error in migrate-lists-to-per-swimlane migration.
Thanks to xet7 ! Fixes #5918
This commit is contained in:
parent
9bd21e1d1b
commit
cc99da5357
9 changed files with 157 additions and 135 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue