Skip to content

Commit 4a9eefd

Browse files
authored
docs: fix broken link in gateways socket options
1 parent a0ad353 commit 4a9eefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/websockets/gateways.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In general, each gateway is listening on the same port as the **HTTP server**, u
2929

3030
> warning **Warning** Gateways are not instantiated until they are referenced in the providers array of an existing module.
3131
32-
You can pass any supported [option](https://socket.io/docs/server-api/) to the socket constructor with the second argument to the `@WebSocketGateway()` decorator, as shown below:
32+
You can pass any supported [option](https://socket.io/docs/v4/server-options/) to the socket constructor with the second argument to the `@WebSocketGateway()` decorator, as shown below:
3333

3434
```typescript
3535
@WebSocketGateway(81, { transports: ['websocket'] })

0 commit comments

Comments
 (0)