mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-14 00:16:21 +00:00
Camelcased the config
This commit is contained in:
parent
11d6c00d89
commit
368b40c9d1
@ -17,7 +17,7 @@ const storage = multer.diskStorage({
|
||||
|
||||
const upload = multer({
|
||||
storage: storage,
|
||||
limits: { fileSize: config.uploads.maxsize }
|
||||
limits: { fileSize: config.uploads.maxSize }
|
||||
}).array('files[]')
|
||||
|
||||
uploadsController.upload = function(req, res, next){
|
||||
|
@ -7,7 +7,7 @@ const tokenController = require('../controllers/tokenController')
|
||||
routes.get ('/check', (req, res, next) => {
|
||||
return res.json({
|
||||
private: config.private,
|
||||
maxFileSize: config.uploads.maxsize
|
||||
maxFileSize: config.uploads.maxSize
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user