Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

feat: "Open link in new tab" doesn't work for profile image #3018 (#3480)

balibabued0d47fc8aea
diff --git a/web/src/layouts/components/header/index.tsx b/web/src/layouts/components/header/index.tsx
index 42370e88fc..b6420b917d 100644
--- a/web/src/layouts/components/header/index.tsx
+++ b/web/src/layouts/components/header/index.tsx
@@ -59,10 +59,16 @@ const RagHeader = () => {
height: '72px',
}}
>
- <Space size={12} onClick={handleLogoClick} className={styles.logoWrapper}>
- <img src="/logo.svg" alt="" className={styles.appIcon} />
- <span className={styles.appName}>{appConf.appName}</span>
- </Space>
+ <a href={window.location.origin}>
+ <Space
+ size={12}
+ onClick={handleLogoClick}
+ className={styles.logoWrapper}
+ >
+ <img src="/logo.svg" alt="" className={styles.appIcon} />
+ <span className={styles.appName}>{appConf.appName}</span>
+ </Space>
+ </a>
<Space size={[0, 8]} wrap>
<Radio.Group
defaultValue="a"