fixup! improve linting and documentation

This commit is contained in:
Carlos Valente
2026-06-13 21:13:20 +02:00
parent c322028821
commit 24a606a246
8 changed files with 340 additions and 236 deletions
@@ -18,10 +18,10 @@ export default function McpSection() {
? `http://${infoData.networkInterfaces[0].address}:${infoData.serverPort}`
: serverURL;
generateUrl({ baseUrl, path: '/mcp', authenticate: true, lockConfig: false, lockNav: false })
generateUrl({ baseUrl, path: 'mcp', authenticate: true, lockConfig: false, lockNav: false })
.then(setMcpEndpointUrl)
.catch(() => {
setMcpEndpointUrl(`${baseUrl}/mcp`);
setMcpEndpointUrl('');
});
}, [infoData]);