Updating rss source to be the name of the source not link
This commit is contained in:
@@ -82,8 +82,7 @@ exports.sendPost = (post, source, channel, callback) => {
|
||||
|
||||
const postId = post.postId;
|
||||
const postPubDate = new Date(post.pubDate).toISOString() ?? new Date().toISOString();
|
||||
var postSourceLink = new URL(source.link);
|
||||
postSourceLink = postSourceLink.hostname;
|
||||
var postSourceLink = source.title;
|
||||
var postImage = post.image ?? undefined;
|
||||
|
||||
if (!postImage){
|
||||
|
||||
Reference in New Issue
Block a user