const express = require('express'); const router = express.Router(); //-------------------------- // Index //-------------------------- router.get('/', function(req, res) {}); //-------------------------- // Logout //-------------------------- router.post('/logout', function(req, res) { req.logout(); return res.json({ message: 'LOGGED OUT' }); }); module.exports = router;