forked from sam/fedifeed
(try to) fix when a user has a feed landing cached so the second page request fails: now it should just give duplicate pages instead of a 500.
This commit is contained in:
parent
270391a6e8
commit
d25ae125d9
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"];
|
||||
|
|
Loading…
Reference in a new issue