* enhance ai menu

* remove api prefix from mcp
This commit is contained in:
Philipinho
2026-03-02 03:31:52 +00:00
parent cf43e2b4fe
commit ee6b98edaa
7 changed files with 21 additions and 14 deletions
@@ -27,7 +27,7 @@ export default function McpSettings() {
const [checked, setChecked] = useState(workspace?.settings?.ai?.mcp);
const hasAccess = useIsCloudEE();
const mcpUrl = `${getAppUrl()}/api/mcp`;
const mcpUrl = `${getAppUrl()}/mcp`;
const handleChange = async (event: React.ChangeEvent<HTMLInputElement>) => {
const value = event.currentTarget.checked;