forked from coolaj86/goldilocks.js
		
	added config for the tunnel server to the schema
This commit is contained in:
		
							parent
							
								
									9ec642237c
								
							
						
					
					
						commit
						7423d6065f
					
				@ -174,6 +174,14 @@ var mdnsSchema = {
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
var tunnelSvrSchema = {
 | 
			
		||||
  type: 'object'
 | 
			
		||||
, properties: {
 | 
			
		||||
    servernames: { type: 'array', items: { type: 'string' }}
 | 
			
		||||
  , secret:      { type: 'string' }
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
var ddnsSchema = {
 | 
			
		||||
  type: 'object'
 | 
			
		||||
, properties: {
 | 
			
		||||
@ -223,6 +231,7 @@ var mainSchema = {
 | 
			
		||||
  , ddns:   ddnsSchema
 | 
			
		||||
  , socks5: socks5Schema
 | 
			
		||||
  , device: deviceSchema
 | 
			
		||||
  , tunnel_server: tunnelSvrSchema
 | 
			
		||||
  }
 | 
			
		||||
, additionalProperties: false
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user