mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-11-26 02:49:19 +02:00
Fixing bugs
This commit is contained in:
parent
eec3b31641
commit
6039a793c4
|
@ -13,7 +13,7 @@
|
||||||
"parse-favicon": "^2.0.0",
|
"parse-favicon": "^2.0.0",
|
||||||
"pug": "^2.0.3",
|
"pug": "^2.0.3",
|
||||||
"request": "^2.87.0",
|
"request": "^2.87.0",
|
||||||
"rss-parser": "^3.4.3"
|
"rss-parser": "^3.6.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.10.0"
|
"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
|
// 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
|
// 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) {
|
if (tempActor.followers === undefined) {
|
||||||
tempActor.followers = `https://${domain}/u/${username}/followers`,
|
tempActor.followers = `https://${domain}/u/${username}/followers`;
|
||||||
}
|
}
|
||||||
res.json(tempActor);
|
res.json(tempActor);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue