diff options
author | Albert <albert@semmle.com> | 2019-02-11 09:05:46 +0000 |
---|---|---|
committer | Albert <albert@semmle.com> | 2019-02-11 09:05:46 +0000 |
commit | 9e3a52f14a8e80441520933a7b654c86ed730da3 (patch) | |
tree | b43a1dbf293e0e982a914d0a2d316c44205da998 /plugin/multiplex | |
parent | 90473eeb0511c466714a1e288d569931d588b3f0 (diff) | |
download | perl-software-in-gnu-guix-9e3a52f14a8e80441520933a7b654c86ed730da3.tar perl-software-in-gnu-guix-9e3a52f14a8e80441520933a7b654c86ed730da3.tar.gz |
correct typo
Diffstat (limited to 'plugin/multiplex')
-rw-r--r-- | plugin/multiplex/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js index 4a4f3de..f11639b 100644 --- a/plugin/multiplex/index.js +++ b/plugin/multiplex/index.js @@ -45,7 +45,7 @@ app.get("/", function(req, res) { app.get("/token", function(req,res) { var ts = new Date().getTime(); var rand = new Uint32Array(1); - window.crypto.getRandomValues(array) + window.crypto.getRandomValues(rand) var secret = ts.toString() + rand.toString(); res.send({secret: secret, socketId: createHash(secret)}); }); |