added comment

This commit is contained in:
Sami Salkosuo 2020-04-20 09:59:07 +03:00
parent 3fbc63ffbf
commit 48a7d95655

View File

@ -7,6 +7,7 @@ var router = express.Router()
const logger = require('../utils/logger.js')
//route to handle file upload in all POST requests
//file is saved to res.locals.savedFile and can be used in subsequent routes.
router.use(function (req, res,next) {
if(req.method == "POST")