This commit is contained in:
Pitu 2017-01-29 21:21:38 -03:00
parent ab64208c57
commit 116c04907e

View File

@ -15,8 +15,6 @@ routes.get ('/check', (req, res, next) => {
routes.post ('/login', (req, res, next) => authController.verify(req, res, next)) routes.post ('/login', (req, res, next) => authController.verify(req, res, next))
routes.post ('/register', (req, res, next) => authController.register(req, res, next)) routes.post ('/register', (req, res, next) => authController.register(req, res, next))
routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))
routes.get ('/uploads', (req, res, next) => uploadController.list(req, res)) routes.get ('/uploads', (req, res, next) => uploadController.list(req, res))
routes.get ('/uploads/:page', (req, res, next) => uploadController.list(req, res)) routes.get ('/uploads/:page', (req, res, next) => uploadController.list(req, res))
routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next)) routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))