download data dump from dajngo db

This commit is contained in:
2016-08-11 12:30:08 -04:00
parent 49e2010f07
commit 4314388d11

View File

@ -14,4 +14,8 @@ router.all('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
router.get('/dbdump', function(req, res, nex){
res.sendFile('/var/backups/db/djangodump.json');
});
module.exports = router;