add logging to redirects

This commit is contained in:
fenwick67 2019-08-05 16:34:09 -04:00
parent f1f3a8680d
commit 0c9f0c790f

View file

@ -28,7 +28,7 @@ function doCache(res,durationSecs){
// this just redirects to the
app.options('/api/feed',cors());
app.get('/api/feed',cors(),function(req,res){
app.get('/api/feed',cors(),logger,function(req,res){
// get feed url
var feedUrl = req.query.url;