From dbb59ab873cd01a432046df0a4d4d6bfe8336f24 Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 11 Aug 2024 16:56:18 +0800 Subject: [PATCH] rss --- src/subreddit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subreddit.rs b/src/subreddit.rs index a252685c..c71bc98c 100644 --- a/src/subreddit.rs +++ b/src/subreddit.rs @@ -494,7 +494,7 @@ pub async fn rss(req: Request) -> Result, String> { link: Some(utils::get_post_url(&post)), author: Some(post.author.name), content: Some(rewrite_urls(&post.body)), - description: Some(post.permalink), + description: Some(format!("{}{}", config::get_setting("REDLIB_FULL_URL").unwrap_or_default(), post.permalink)), ..Default::default() }) .collect::>(),