(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:
fenwick67 2019-08-05 16:31:34 -04:00
parent 270391a6e8
commit d25ae125d9

View file

@ -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"];