mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-26 08:32:26 +08:00
Fix import in README from createServer to createConnection (#396)
Probably, `createServer` is not from `@playwright/mcp`.
This commit is contained in:
parent
84664d4b09
commit
65a229c79f
@ -224,7 +224,7 @@ docker build -t mcr.microsoft.com/playwright/mcp .
|
||||
```js
|
||||
import http from 'http';
|
||||
|
||||
import { createServer } from '@playwright/mcp';
|
||||
import { createConnection } from '@playwright/mcp';
|
||||
import { SSEServerTransport } from '@modelcontextprotocol/sdk/server/sse.js';
|
||||
|
||||
http.createServer(async (req, res) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user