filesafe/routes.js

6 lines
236 B
JavaScript
Raw Normal View History

2017-01-13 07:34:21 +00:00
const routes = require('express').Router()
const uploadController = require('./controllers/uploadController')
routes.post ('/upload', (req, res, next) => uploadController.upload(req, res, next))
module.exports = routes