Camelcased the config

This commit is contained in:
Pitu 2017-01-18 20:38:13 -03:00
parent 11d6c00d89
commit 368b40c9d1
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const storage = multer.diskStorage({
const upload = multer({ const upload = multer({
storage: storage, storage: storage,
limits: { fileSize: config.uploads.maxsize } limits: { fileSize: config.uploads.maxSize }
}).array('files[]') }).array('files[]')
uploadsController.upload = function(req, res, next){ uploadsController.upload = function(req, res, next){

View File

@ -7,7 +7,7 @@ const tokenController = require('../controllers/tokenController')
routes.get ('/check', (req, res, next) => { routes.get ('/check', (req, res, next) => {
return res.json({ return res.json({
private: config.private, private: config.private,
maxFileSize: config.uploads.maxsize maxFileSize: config.uploads.maxSize
}) })
}) })