Skip to content

Commit

Permalink
rss
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub committed Aug 11, 2024
1 parent b265b44 commit dbb59ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subreddit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ pub async fn rss(req: Request<Body>) -> Result<Response<Body>, 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::<Vec<_>>(),
Expand Down

0 comments on commit dbb59ab

Please sign in to comment.