Skip to content

Commit

Permalink
Update RSS url (LemmyNet#3053)
Browse files Browse the repository at this point in the history
* Update RSS url

* Fixed next line

* making sure this thing uploads

* Update feeds.rs

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
  • Loading branch information
JetpackJackson and dessalines committed Jun 13, 2023
1 parent c32585b commit 91271a7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/routes/src/feeds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,10 +401,7 @@ fn create_reply_and_mention_items(
let mut reply_items: Vec<Item> = replies
.iter()
.map(|r| {
let reply_url = format!(
"{}/post/{}/comment/{}",
protocol_and_hostname, r.post.id, r.comment.id
);
let reply_url = format!("{}/comment/{}", protocol_and_hostname, r.comment.id);
build_item(
&r.creator.name,
&r.comment.published,
Expand All @@ -419,7 +416,7 @@ fn create_reply_and_mention_items(
.iter()
.map(|m| {
let mention_url = format!(
"{}/post/{}/comment/{}",
"/comment/{}",
protocol_and_hostname, m.post.id, m.comment.id
);
build_item(
Expand Down

0 comments on commit 91271a7

Please sign in to comment.