Fix import in README from createServer to createConnection (#396)

Probably, `createServer` is not from `@playwright/mcp`.
This commit is contained in:
Taiga Mikami 2025-05-13 00:46:21 +09:00 committed by GitHub
parent 84664d4b09
commit 65a229c79f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) => {