Add support for profile photos; default image

This commit is contained in:
garrettmills
2020-05-18 22:55:08 -05:00
parent 2b2e7d2ebe
commit b8a0e957bb
18 changed files with 227 additions and 17 deletions

View File

@@ -0,0 +1,12 @@
const Middleware = require('flitter-upload/middleware/UploadFile')
/*
* Middleware to upload the files included in the request
* to the default file store backend. Stores instances of
* the "upload::File" model in "request.uploads".
*/
class UploadFile extends Middleware {
}
module.exports = exports = UploadFile