mirror of
https://github.com/docmost/docmost.git
synced 2026-08-29 18:14:58 +08:00
* enhance ai menu
* remove api prefix from mcp
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user