diff --git a/routes/submit.js b/routes/submit.js index 9f2355b..bdd7012 100644 --- a/routes/submit.js +++ b/routes/submit.js @@ -3,7 +3,12 @@ var router = express.Router(); /* GET submit page. */ router.get('/', function(req, res, next) { - res.render('submit', { title: 'Express' }); + res.send('Nothing to send'); +}); + +/* POST submit page. */ +router.post('/', function(req, res, next) { + res.send('Score sent'); }); module.exports = router;