diff --git a/web/src/components/Memo.tsx b/web/src/components/Memo.tsx index 9708aa62..a604d1e3 100644 --- a/web/src/components/Memo.tsx +++ b/web/src/components/Memo.tsx @@ -146,10 +146,12 @@ const Memo: React.FC = (props: Props) => { const imageUrls = memo.content.match(/!\[.*?\]\((.*?)\)/g)?.map( (item) => - item - .match(/\((.*?)\)/g) - ?.slice(-1)[0] - .slice(1, -1) ?? "" + `/o/get/image?url=${ + item + .match(/\((.*?)\)/g) + ?.slice(-1)[0] + .slice(1, -1) ?? "" + }` ) ?? []; showPreviewImageDialog( imageUrls,