define constants "BASEPORT_xxx"
This commit is contained in:
		
							parent
							
								
									13c101a451
								
							
						
					
					
						commit
						97e1658276
					
				@ -2,6 +2,11 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
 | 
					  BASEPORT_API_SERVER: 7000,
 | 
				
			||||||
 | 
					  BASEPORT_WEB_SERVER: 8000,
 | 
				
			||||||
 | 
					  BASEPORT_CHAIN_SERVER: 6000,
 | 
				
			||||||
 | 
					  BASEPORT_NET_NODE: 60000,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  sleep: (ms) => new Promise((resolve, reject) => setTimeout(resolve, ms)),
 | 
					  sleep: (ms) => new Promise((resolve, reject) => setTimeout(resolve, ms)),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  parse_json_anyway (value) {
 | 
					  parse_json_anyway (value) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user