From 0c9f0c790f2a08b6dde9d6abeeeb88006e96a208 Mon Sep 17 00:00:00 2001 From: fenwick67 Date: Mon, 5 Aug 2019 16:34:09 -0400 Subject: [PATCH] add logging to redirects --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ed686b1..fe22c01 100644 --- a/index.js +++ b/index.js @@ -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;