Skip to content

Commit 84fa7f5

Browse files
committed
chore: remove redundant check
1 parent 226bd3c commit 84fa7f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class Server {
128128
let pathString = '';
129129

130130
// Only add the path if it is not default
131-
if (options.client && options.client.path && options.client.path) {
131+
if (options.client && options.client.path) {
132132
pathString = `&path=${options.client.path}`;
133133
} else if (options.webSocketServer.options.path) {
134134
pathString = `&path=${options.webSocketServer.options.path}`;

0 commit comments

Comments
 (0)