Turned FileColelction logging off for production

This commit is contained in:
Stefan Zermatten
2022-07-26 12:04:13 +02:00
parent d44d4e0315
commit 6ccbf204eb

View File

@@ -48,7 +48,7 @@ if (Meteor.isServer && Meteor.settings.useS3) {
storagePath,
onBeforeUpload,
onAfterUpload,
debug = Meteor.isProduction,
debug = !Meteor.isProduction,
allowClientCode = false,
}){
const collection = new FilesCollection({
@@ -222,7 +222,7 @@ if (Meteor.isServer && Meteor.settings.useS3) {
storagePath,
onBeforeUpload,
onAfterUpload,
debug = Meteor.isProduction,
debug = !Meteor.isProduction,
allowClientCode = false,
}){
const collection = new FilesCollection({