Fixing bugs

This commit is contained in:
Darius Kazemi 2019-03-10 21:25:21 -07:00
parent eec3b31641
commit 6039a793c4
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"parse-favicon": "^2.0.0",
"pug": "^2.0.3",
"request": "^2.87.0",
"rss-parser": "^3.4.3"
"rss-parser": "^3.6.3"
},
"engines": {
"node": ">=10.10.0"

View File

@ -21,7 +21,7 @@ router.get('/:name', function (req, res) {
// Added this followers URI for Pleroma compatibility, see https://github.com/dariusk/rss-to-activitypub/issues/11#issuecomment-471390881
// New Actors should have this followers URI but in case of migration from an old version this will add it in on the fly
if (tempActor.followers === undefined) {
tempActor.followers = `https://${domain}/u/${username}/followers`,
tempActor.followers = `https://${domain}/u/${username}/followers`;
}
res.json(tempActor);
}