# fileUpload

settings related to file upload

- maxFileSize: maximum size of the file that can be uploaded
- maxFiles: maximum number of files that can be uploaded at the same time
- mimeTypes: types of files that can be uploaded as attachments (mimetype)
  - ['image/png', 'image/jpeg', 'application/pdf']
  - ['image/*', 'application/pdf']
  - ['*/*'] or [] /_ all types of files _/

## default

```json
module.exports = {
  fileUpload: {
    maxFileSize: '100mb',
    maxFiles: 10,
    mimeTypes: []
  }
}
```
