correct typo
This commit is contained in:
		| @@ -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)}); | ||||
| }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user