Skip to content

Commit 7e6f2dc

Browse files
chore: accept pr suggestion
Co-authored-by: Alex Potsides <[email protected]>
1 parent 54c25f4 commit 7e6f2dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,7 @@ export const WebSockets = fmt(_WebSockets)
309309

310310
const _WebSocketsSecure = or(
311311
and(_WEB, literal('wss'), optional(peerId())),
312-
and(_WEB, literal('tls'), literal('ws'), optional(peerId())),
313-
and(_TCP, literal('tls'), literal('sni'), string(), literal('ws'), optional(peerId()))
312+
and(_WEB, literal('tls'), optional(literal('sni'), string()), literal('ws'), optional(peerId()))
314313
)
315314

316315
/**

0 commit comments

Comments
 (0)