fix: doc links (#763)

This commit is contained in:
Matri
2023-08-07 10:50:45 +08:00
committed by GitHub
parent 8ae1eb0ebb
commit f914eb95eb
7 changed files with 24 additions and 9 deletions

View File

@@ -97,7 +97,7 @@ export default function AppSelector() {
<Link
className={classNames(itemClassName, 'group justify-between')}
href={
locale === 'zh-Hans' ? 'https://docs.dify.ai/v/zh-hans/' : 'https://docs.dify.ai/'
locale === 'en' ? 'https://docs.dify.ai/' : `https://docs.dify.ai/v/${locale.toLowerCase()}/`
}
target='_blank'>
<div>{t('common.userProfile.helpCenter')}</div>