add logging to redirects
This commit is contained in:
parent
f1f3a8680d
commit
0c9f0c790f
2
index.js
2
index.js
|
@ -28,7 +28,7 @@ function doCache(res,durationSecs){
|
||||||
|
|
||||||
// this just redirects to the
|
// this just redirects to the
|
||||||
app.options('/api/feed',cors());
|
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
|
// get feed url
|
||||||
var feedUrl = req.query.url;
|
var feedUrl = req.query.url;
|
||||||
|
|
Loading…
Reference in New Issue