fix previous commit (not complete)
This commit is contained in:
parent
d25ae125d9
commit
f1f3a8680d
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -38,7 +38,7 @@ app.get('/api/feed',cors(),function(req,res){
|
|||
return;
|
||||
}
|
||||
|
||||
var userUrl = feedUrl.replace(/\.atom/i,'');
|
||||
var userUrl = feedUrl.replace(/\.atom.*/i,'');
|
||||
|
||||
var redirectUrl = '/apiv2/feed?';
|
||||
var qs = ['userurl='+encodeURIComponent(userUrl),"api=v1"];
|
||||
|
|
Reference in a new issue