fix all URLs to be relative, not root

This commit is contained in:
Tom
2023-04-29 12:47:30 +02:00
parent d9322a31b4
commit 70fd17d91f
16 changed files with 83 additions and 83 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ const Thread = () => {
const handleClickForm = useClickForm();
const commentMediaInfo = getCommentMediaInfo(comment);
const fallbackImgUrl = "/assets/filedeleted-res.gif";
const fallbackImgUrl = "assets/filedeleted-res.gif";
const [errorMessage, setErrorMessage] = useState(null);
useError(errorMessage, [errorMessage]);
@@ -561,7 +561,7 @@ const Thread = () => {
{comment.state === "fetching-ipns" ? <PostLoader /> : null}
{sortedReplies.map((reply, index) => {
const replyMediaInfo = getCommentMediaInfo(reply);
const fallbackImgUrl = "/assets/filedeleted-res.gif";
const fallbackImgUrl = "assets/filedeleted-res.gif";
const shortParentCid = findShortParentCid(reply.parentCid, comment);
return (
<div key={`pc-${index}`} className="reply-container">