mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fix local link
This commit is contained in:
parent
76d6b2c781
commit
53b70d7024
@ -14,7 +14,7 @@ async function callMcpServer(search_query: string): Promise<SearchResult[]> {
|
||||
// Use localhost during development, production URL otherwise
|
||||
// TODO: Temporarily testing with production MCP
|
||||
const mcpUrl = process.env.NODE_ENV === 'development'
|
||||
? 'https://mcp.stack-auth.com/api/internal/mcp'
|
||||
? 'http://localhost:8104/api/internal/mcp'
|
||||
: 'https://mcp.stack-auth.com/api/internal/mcp';
|
||||
|
||||
console.log(`Calling MCP server at: ${mcpUrl}`);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user