fix: doc links (#763)

This commit is contained in:
Matri 2023-08-07 10:50:45 +08:00 • committed by GitHub
commit f914eb95eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>