mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
fix: Removed incorrect www from URL in DocsGPT Docs frontend (#1854)
This commit is contained in:
@@ -60,7 +60,7 @@ const config = {
|
|||||||
GitHub
|
GitHub
|
||||||
</a>
|
</a>
|
||||||
{' | '}
|
{' | '}
|
||||||
<a href="https://www.blog.docsgpt.cloud/" target="_blank">
|
<a href="https://blog.docsgpt.cloud/" target="_blank">
|
||||||
Blog
|
Blog
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ export default function NewAgent({ mode }: { mode: 'new' | 'edit' | 'draft' }) {
|
|||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
const tools: OptionType[] = data.tools.map((tool: UserToolType) => ({
|
const tools: OptionType[] = data.tools.map((tool: UserToolType) => ({
|
||||||
id: tool.id,
|
id: tool.id,
|
||||||
label: tool.customName,
|
label: tool.displayName,
|
||||||
icon: `/toolIcons/tool_${tool.name}.svg`,
|
icon: `/toolIcons/tool_${tool.name}.svg`,
|
||||||
}));
|
}));
|
||||||
setUserTools(tools);
|
setUserTools(tools);
|
||||||
|
|||||||
Reference in New Issue
Block a user