mirror of
https://github.com/fenwick67/mastofeed
synced 2025-01-11 00:34:11 +01:00
fix previous commit (not complete)
This commit is contained in:
parent
d25ae125d9
commit
f1f3a8680d
2
index.js
2
index.js
@ -38,7 +38,7 @@ app.get('/api/feed',cors(),function(req,res){
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var userUrl = feedUrl.replace(/\.atom/i,'');
|
var userUrl = feedUrl.replace(/\.atom.*/i,'');
|
||||||
|
|
||||||
var redirectUrl = '/apiv2/feed?';
|
var redirectUrl = '/apiv2/feed?';
|
||||||
var qs = ['userurl='+encodeURIComponent(userUrl),"api=v1"];
|
var qs = ['userurl='+encodeURIComponent(userUrl),"api=v1"];
|
||||||
|
Loading…
Reference in New Issue
Block a user