Documentation. Changed key.maxLen from Infinity to 1024 bytes

This commit is contained in:
Hexagon 2016-01-05 00:08:15 +01:00
parent a13dd84d21
commit edbc9ce43d
3 changed files with 29 additions and 22 deletions

View File

@ -88,6 +88,9 @@ Client:
/clear Clear on-screen buffer
/help This
/title Set your local page title
/torch AfterSeconds Console messages are torched
after this amount of seconds
(default 600).
Room:
/join RoomId Join a room
@ -104,4 +107,8 @@ You can select any of the five last commands/messages with up/down key.
Due to security reasons, /key command is not saved, and command
history is automatically cleared after one minute of inactivity.
It is highly recommended to use incognito mode while chatting,
to prevent browsers from keeping history or cache.
```

View File

@ -1,6 +1,6 @@
{
"name" : "cryptalk",
"version" : "1.1.1",
"version" : "1.1.2",
"description" : "Encrypted HTML5/Node.JS instant chat",
"main" : "server.js",
"subdomain": "cryptalk",

View File

@ -27,7 +27,7 @@ define({
},
key: {
maxLen: Infinity,
maxLen: 1024,
minLen: 8,
},