mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-10-12 00:25:14 +03:00
Fix import in README from createServer to createConnection (#396)
Probably, `createServer` is not from `@playwright/mcp`.
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user