mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-16 12:47:19 +08:00
feat(frontend): add AuthenticatedImg component for authorized image requests (#16525)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import Image from '@/components/image';
|
||||
import Image, { AuthenticatedImg } from '@/components/image';
|
||||
import SvgIcon from '@/components/svg-icon';
|
||||
import { MarkdownRemarkPlugins } from '@/constants/markdown-remark-plugins';
|
||||
import { IReference, IReferenceChunk } from '@/interfaces/database/chat';
|
||||
@@ -203,7 +203,7 @@ const MarkdownContent = ({
|
||||
{documentId && (
|
||||
<section className="flex gap-1">
|
||||
{fileThumbnail ? (
|
||||
<img
|
||||
<AuthenticatedImg
|
||||
src={fileThumbnail}
|
||||
alt=""
|
||||
className={styles.fileThumbnail}
|
||||
|
||||
Reference in New Issue
Block a user