Config file to set doc baseurl (#419)

This commit is contained in:
Archer
2023-10-23 08:56:43 +08:00
committed by GitHub
parent a3534407bf
commit d37433eacd
12 changed files with 17 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ const Footer = () => {
{
label: t('home.Footer Docs'),
onClick: () => {
window.open('https://doc.fastgpt.run/docs/intro', '_blank');
window.open(`${feConfigs.docUrl}/docs/intro`, '_blank');
}
}
]

View File

@@ -47,7 +47,7 @@ const Navbar = () => {
label: t('home.Docs'),
key: 'docs',
onClick: () => {
window.open('https://doc.fastgpt.run/docs/intro');
window.open(`${feConfigs.docUrl}/docs/intro`);
}
}
]