mirror of
				https://git.coolaj86.com/coolaj86/telebit.js.git
				synced 2025-11-03 18:22:47 +00:00 
			
		
		
		
	fix bad if
This commit is contained in:
		
							parent
							
								
									23c40878e0
								
							
						
					
					
						commit
						e60f1fa14f
					
				@ -236,7 +236,7 @@ function serveControls() {
 | 
				
			|||||||
    if (/status/.test(opts.path)) {
 | 
					    if (/status/.test(opts.path)) {
 | 
				
			||||||
      res.end(
 | 
					      res.end(
 | 
				
			||||||
        '{"status":' + (state.config.disable ? 'disabled' : 'enabled')
 | 
					        '{"status":' + (state.config.disable ? 'disabled' : 'enabled')
 | 
				
			||||||
      + ',"ready":' + (state.config.relay && (state.config.token || state.config.agreeTos)) ? 'true' : 'false'
 | 
					      + ',"ready":' + ((state.config.relay && (state.config.token || state.config.agreeTos)) ? 'true' : 'false')
 | 
				
			||||||
      + '}');
 | 
					      + '}');
 | 
				
			||||||
      return;
 | 
					      return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user