Services enabled back to normal
This commit is contained in:
		
							parent
							
								
									6f6258e53b
								
							
						
					
					
						commit
						127900a4d4
					
				
					 1 changed files with 16 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -84,15 +84,7 @@ dbcheck(err => { // Check if database needs upgrading before starting the server
 | 
			
		|||
    .then(() => shares.regenerateRoleNamesTable())
 | 
			
		||||
    .then(() => shares.rebuildPermissions())
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
    .then(() =>
 | 
			
		||||
        testServer(() => {
 | 
			
		||||
            senders.spawn(() => {
 | 
			
		||||
            });
 | 
			
		||||
        })
 | 
			
		||||
    );
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
/* Simplified startup without services - only for debugging the UI and models
 | 
			
		||||
    .then(() =>
 | 
			
		||||
        startHTTPServer(AppType.TRUSTED, 'trusted', trustedPort, () =>
 | 
			
		||||
            startHTTPServer(AppType.SANDBOXED, 'sandbox', sandboxPort, () =>
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +102,8 @@ dbcheck(err => { // Check if database needs upgrading before starting the server
 | 
			
		|||
            )
 | 
			
		||||
        )
 | 
			
		||||
    );
 | 
			
		||||
/*
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
    .then(() =>
 | 
			
		||||
        executor.spawn(() => 
 | 
			
		||||
            testServer(() => 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue