8 is too much

This commit is contained in:
adb-sh 2020-08-11 00:23:01 +02:00
parent 1dd97e6ebe
commit 8d1ff20376

View File

@ -91,7 +91,7 @@ wss.on('connection', ws => {
if (xhr.readyState === 4) {
switch(xhr.status) {
case 200:
let ran_key = get_key(8)
let ran_key = get_key(4)
//write to redis
redis_cli.hmset("surl;"+ran_key, "url", msg[1], "time", Date.now())
ws.send('surl;'+host+ran_key)