nicer icons. different port

This commit is contained in:
Tommy D. Rossi
2025-11-16 11:29:35 +01:00
parent 52d2726d7d
commit 29488aca76
25 changed files with 27 additions and 27 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ class ExtensionConnection {
### New (Functional):**
```typescript
export async function startRelayServer({ port = 9988 }) {
export async function startRelayServer({ port = 19988 }) {
const targetsRegistry = createTargetsRegistry()
let playwrightWs: WSContext | null = null
let extensionWs: WSContext | null = null
@@ -230,13 +230,13 @@ The new implementation is a drop-in replacement:
**Old:**
```typescript
const httpServer = await startHttpServer({ port: 9988 })
const httpServer = await startHttpServer({ port: 19988 })
const cdpRelayServer = new CDPRelayServer(httpServer)
cdpRelayServer.stop()
```
**New:**
```typescript
const server = await startRelayServer({ port: 9988 })
const server = await startRelayServer({ port: 19988 })
server.close()
```