forked from sam/fedifeed
add logging to redirects
This commit is contained in:
parent
f1f3a8680d
commit
0c9f0c790f
1 changed files with 1 additions and 1 deletions
2
index.js
2
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;
|
||||
|
|
Loading…
Reference in a new issue