fix previous commit (not complete)

This commit is contained in:
fenwick67 2019-08-05 16:31:57 -04:00
parent d25ae125d9
commit f1f3a8680d

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