Turned FileColelction logging off for production
This commit is contained in:
@@ -48,7 +48,7 @@ if (Meteor.isServer && Meteor.settings.useS3) {
|
|||||||
storagePath,
|
storagePath,
|
||||||
onBeforeUpload,
|
onBeforeUpload,
|
||||||
onAfterUpload,
|
onAfterUpload,
|
||||||
debug = Meteor.isProduction,
|
debug = !Meteor.isProduction,
|
||||||
allowClientCode = false,
|
allowClientCode = false,
|
||||||
}){
|
}){
|
||||||
const collection = new FilesCollection({
|
const collection = new FilesCollection({
|
||||||
@@ -222,7 +222,7 @@ if (Meteor.isServer && Meteor.settings.useS3) {
|
|||||||
storagePath,
|
storagePath,
|
||||||
onBeforeUpload,
|
onBeforeUpload,
|
||||||
onAfterUpload,
|
onAfterUpload,
|
||||||
debug = Meteor.isProduction,
|
debug = !Meteor.isProduction,
|
||||||
allowClientCode = false,
|
allowClientCode = false,
|
||||||
}){
|
}){
|
||||||
const collection = new FilesCollection({
|
const collection = new FilesCollection({
|
||||||
|
|||||||
Reference in New Issue
Block a user