willhuang85 / skipper-gridfs

Skipper adapter for Mongo's GridFS
MIT License
26 stars 36 forks source link

maxBytes support #21

Open Clan-Utility opened 9 years ago

Clan-Utility commented 9 years ago

Does skipper-grids support maxBytes option?

req.file('upfile')
  .upload({
    adapter: require('skipper-gridfs'),
    uri: uri,
    // You can apply a file upload limit (in bytes)
    maxBytes: maxBytes
  }, function (err, uploadedFiles) {
dmedina2015 commented 3 years ago

See PR #45