History

fix versions

Rhys Sullivan committed 7 months ago

Commit d09401b1 parent d5a2fe62 files · +2 −2Browse files

Unified · Split

2 files
  1. packages/plugins/google-discovery/src/react/AddGoogleDiscoverySource.tsx +1 −1
  2. packages/plugins/mcp/src/react/AddMcpSource.tsx +1 −1
packages/plugins/google-discovery/src/react/AddGoogleDiscoverySource.tsx+1−1
@@ -514,7 +514,7 @@ export default function AddGoogleDiscoverySource(props: { · 513 unmodified lines
514514 discoveryUrl: discoveryUrl.trim(),
515515 clientId: clientId.trim(),
516516 clientSecretSecretId,
517− redirectUrl: `${window.location.origin}/v1/google-discovery/oauth/callback`,
517+ redirectUrl: `${window.location.origin}/api/google-discovery/oauth/callback`,
518518 scopes: probe.scopes,
519519 },
520520 });
packages/plugins/mcp/src/react/AddMcpSource.tsx+1−1
@@ -248,7 +248,7 @@ export default function AddMcpSource(props: { · 247 unmodified lines
248248 const handleOAuth = useCallback(async () => {
249249 dispatch({ type: "oauth-start" });
250250 try {
251− const redirectUrl = `${window.location.origin}/v1/mcp/oauth/callback`;
251+ const redirectUrl = `${window.location.origin}/api/mcp/oauth/callback`;
252252 const result = await doStartOAuth({
253253 path: { scopeId },
254254 payload: { endpoint: state.url.trim(), redirectUrl },