Attachment Management at Admin Console

This commit is contained in:
Martin Filser 2022-04-08 00:27:56 +02:00
parent a064e03fc7
commit b8d14abe0c
7 changed files with 249 additions and 4 deletions

View file

@ -13,7 +13,7 @@ if (Meteor.isServer) {
storagePath = path.join(process.env.WRITABLE_PATH, 'attachments');
}
const fileStoreStrategyFactory = new FileStoreStrategyFactory(AttachmentStoreStrategyFilesystem, storagePath, AttachmentStoreStrategyGridFs, attachmentBucket);
export const fileStoreStrategyFactory = new FileStoreStrategyFactory(AttachmentStoreStrategyFilesystem, storagePath, AttachmentStoreStrategyGridFs, attachmentBucket);
// XXX Enforce a schema for the Attachments FilesCollection
// see: https://github.com/VeliovGroup/Meteor-Files/wiki/Schema