filesafe/routes.js
2017-01-13 04:34:21 -03:00

6 lines
236 B
JavaScript

const routes = require('express').Router()
const uploadController = require('./controllers/uploadController')
routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))
module.exports = routes