Update RSS url (#3053)
* Update RSS url * Fixed next line * making sure this thing uploads * Update feeds.rs --------- Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
This commit is contained in:
parent
c32585b034
commit
91271a7ce4
1 changed files with 2 additions and 5 deletions
|
@ -401,10 +401,7 @@ fn create_reply_and_mention_items(
|
||||||
let mut reply_items: Vec<Item> = replies
|
let mut reply_items: Vec<Item> = replies
|
||||||
.iter()
|
.iter()
|
||||||
.map(|r| {
|
.map(|r| {
|
||||||
let reply_url = format!(
|
let reply_url = format!("{}/comment/{}", protocol_and_hostname, r.comment.id);
|
||||||
"{}/post/{}/comment/{}",
|
|
||||||
protocol_and_hostname, r.post.id, r.comment.id
|
|
||||||
);
|
|
||||||
build_item(
|
build_item(
|
||||||
&r.creator.name,
|
&r.creator.name,
|
||||||
&r.comment.published,
|
&r.comment.published,
|
||||||
|
@ -419,7 +416,7 @@ fn create_reply_and_mention_items(
|
||||||
.iter()
|
.iter()
|
||||||
.map(|m| {
|
.map(|m| {
|
||||||
let mention_url = format!(
|
let mention_url = format!(
|
||||||
"{}/post/{}/comment/{}",
|
"/comment/{}",
|
||||||
protocol_and_hostname, m.post.id, m.comment.id
|
protocol_and_hostname, m.post.id, m.comment.id
|
||||||
);
|
);
|
||||||
build_item(
|
build_item(
|
||||||
|
|
Loading…
Reference in a new issue