fixed unclear variable name
This commit is contained in:
parent
c8b3190050
commit
6f6a89acbe
1 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ const generateWebsocketAcceptValue = (websocketKey) => {
|
|||
}
|
||||
|
||||
const concatenated = websocketKey + handshakeGUID;
|
||||
const sha1HashedInBase64 = crypto.createHash('sha1').update(concatenated, 'binary').digest('base64');
|
||||
const sha1HashInBase64 = crypto.createHash('sha1').update(concatenated, 'binary').digest('base64');
|
||||
|
||||
return sha1HashedInBase64;
|
||||
return sha1HashInBase64;
|
||||
};
|
||||
|
||||
module.exports = { generateWebsocketAcceptValue };
|
Loading…
Reference in a new issue