mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
disabled mock content
This commit is contained in:
@@ -4,12 +4,12 @@ const getCommentMediaInfo = (comment) => {
|
||||
if (!comment?.thumbnailUrl && !comment?.link) {
|
||||
return;
|
||||
}
|
||||
if (comment?.thumbnailUrl) {
|
||||
return {
|
||||
url: comment.link,
|
||||
type: 'webpage'
|
||||
};
|
||||
}
|
||||
// if (comment?.thumbnailUrl) {
|
||||
// return {
|
||||
// url: comment.link,
|
||||
// type: 'webpage'
|
||||
// };
|
||||
// }
|
||||
if (comment?.link) {
|
||||
try {
|
||||
new URL(comment.link);
|
||||
|
||||
Reference in New Issue
Block a user