mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
fix: correct API Extension documentation link (#30962)
This commit is contained in:
committed by
GitHub
parent
8cf5d9a6a1
commit
11f1782df0
@ -30,7 +30,7 @@ const ApiBasedExtensionModal: FC<ApiBasedExtensionModalProps> = ({
|
|||||||
onSave,
|
onSave,
|
||||||
}) => {
|
}) => {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
const docLink = useDocLink()
|
const docLink = useDocLink('https://docs.dify.ai/versions/3-0-x')
|
||||||
const [localeData, setLocaleData] = useState(data)
|
const [localeData, setLocaleData] = useState(data)
|
||||||
const [loading, setLoading] = useState(false)
|
const [loading, setLoading] = useState(false)
|
||||||
const { notify } = useToastContext()
|
const { notify } = useToastContext()
|
||||||
@ -102,7 +102,7 @@ const ApiBasedExtensionModal: FC<ApiBasedExtensionModalProps> = ({
|
|||||||
<div className="flex h-9 items-center justify-between text-sm font-medium text-text-primary">
|
<div className="flex h-9 items-center justify-between text-sm font-medium text-text-primary">
|
||||||
{t('apiBasedExtension.modal.apiEndpoint.title', { ns: 'common' })}
|
{t('apiBasedExtension.modal.apiEndpoint.title', { ns: 'common' })}
|
||||||
<a
|
<a
|
||||||
href={docLink('/guides/extension/api-based-extension/README')}
|
href={docLink('/user-guide/extension/api-based-extension/README#api-based-extension')}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="group flex items-center text-xs font-normal text-text-accent"
|
className="group flex items-center text-xs font-normal text-text-accent"
|
||||||
|
|||||||
Reference in New Issue
Block a user