Skip to content

Commit 5f96ae4

Browse files
committed
update PR#633 to address the comment about improving the example
1 parent 4954cd7 commit 5f96ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ app.listen(3000);
508508
> ```ts
509509
> app.use(
510510
> cors({
511-
> origin: '*',
511+
> origin: ['https://your-remote-domain.com, https://your-other-remote-domain.com'],
512512
> exposedHeaders: ['mcp-session-id'],
513513
> allowedHeaders: ['Content-Type', 'mcp-session-id'],
514514
> })

0 commit comments

Comments
 (0)