diff --git a/libUtils.js b/libUtils.js index cc8546b..b5febb3 100644 --- a/libUtils.js +++ b/libUtils.js @@ -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){