fix(route/xiaohongshu): remove items url extra slash (#17878)
This commit is contained in:
@@ -97,7 +97,7 @@ async function getUserFeeds(url: string, category: string) {
|
||||
notes.flatMap((n) =>
|
||||
n.map(({ id, noteCard }) => ({
|
||||
title: noteCard.displayTitle,
|
||||
link: `${url}/${noteCard.noteId || id}`,
|
||||
link: new URL(noteCard.noteId || id, url).toString(),
|
||||
guid: noteCard.noteId || id || noteCard.displayTitle,
|
||||
description: `<img src ="${noteCard.cover.infoList.pop().url}"><br>${noteCard.displayTitle}`,
|
||||
author: noteCard.user.nickname,
|
||||
|
||||
Reference in New Issue
Block a user