修改文字和logo

This commit is contained in:
罗杰
2025-10-19 20:35:40 +08:00
parent 4f2328cc0e
commit ad4bd49697
14 changed files with 12 additions and 22 deletions

View File

@@ -40,7 +40,7 @@ describe('use default branding', () => {
it('document title should be Dify if not set title', () => {
renderHook(() => useDocumentTitle(''))
expect(document.title).toBe('Dify')
expect(document.title).toBe('智能体平台')
})
})

View File

@@ -16,7 +16,7 @@ export default function useDocumentTitle(title: string) {
favicon = systemFeatures.branding.favicon
}
else {
titleStr = `${prefix}Dify`
titleStr = `${prefix}智能体平台`
favicon = `${basePath}/favicon.ico`
}
}