agosh commited on
Commit
61af184
·
verified ·
1 Parent(s): 3b36ca2

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -14,7 +14,7 @@ wss.on('connection', (ws, req) => {
14
  const password = query.password;
15
 
16
  if (password !== requiredPassword) {
17
- ws.send('Erro: Senha incorreta');
18
  ws.close();
19
  return;
20
  }
 
14
  const password = query.password;
15
 
16
  if (password !== requiredPassword) {
17
+ ws.send('Erro: Senha incorreta');
18
  ws.close();
19
  return;
20
  }