update PR#633 to address the comment about improving the example
This commit is contained in:
parent
4954cd7294
commit
5f96ae4d89
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ app.listen(3000);
|
|||
> ```ts
|
||||
> app.use(
|
||||
> cors({
|
||||
> origin: '*',
|
||||
> origin: ['https://your-remote-domain.com, https://your-other-remote-domain.com'],
|
||||
> exposedHeaders: ['mcp-session-id'],
|
||||
> allowedHeaders: ['Content-Type', 'mcp-session-id'],
|
||||
> })
|
||||
|
|
|
|||
Loading…
Reference in a new issue