mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix all URLs to be relative, not root
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user