Documentation. Changed key.maxLen from Infinity to 1024 bytes
This commit is contained in:
		
							parent
							
								
									a13dd84d21
								
							
						
					
					
						commit
						edbc9ce43d
					
				
					 3 changed files with 29 additions and 22 deletions
				
			
		| 
						 | 
					@ -88,6 +88,9 @@ Client:
 | 
				
			||||||
	/clear					Clear on-screen buffer                      
 | 
						/clear					Clear on-screen buffer                      
 | 
				
			||||||
	/help					This                                        
 | 
						/help					This                                        
 | 
				
			||||||
	/title					Set your local page title					
 | 
						/title					Set your local page title					
 | 
				
			||||||
 | 
						/torch		AfterSeconds		Console messages are torched  		
 | 
				
			||||||
 | 
											after this amount of seconds 					
 | 
				
			||||||
 | 
											(default 600).									
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Room:                                                    				
 | 
					Room:                                                    				
 | 
				
			||||||
	/join		RoomId			Join a 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         
 | 
					Due to security reasons, /key command is not saved, and command         
 | 
				
			||||||
history is  automatically cleared after one minute of inactivity.       
 | 
					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.            
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  "name" : "cryptalk",
 | 
					  "name" : "cryptalk",
 | 
				
			||||||
  "version" : "1.1.1",
 | 
					  "version" : "1.1.2",
 | 
				
			||||||
  "description" : "Encrypted HTML5/Node.JS instant chat",
 | 
					  "description" : "Encrypted HTML5/Node.JS instant chat",
 | 
				
			||||||
  "main" : "server.js",
 | 
					  "main" : "server.js",
 | 
				
			||||||
  "subdomain": "cryptalk",
 | 
					  "subdomain": "cryptalk",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@ define({
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	key: {
 | 
						key: {
 | 
				
			||||||
		maxLen: Infinity,
 | 
							maxLen: 1024,
 | 
				
			||||||
		minLen: 8,	
 | 
							minLen: 8,	
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue