mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-12-22 21:53:32 +02:00
Fixing bugs
This commit is contained in:
parent
eec3b31641
commit
6039a793c4
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue