mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Smaller error on startup in localhost mode
This commit is contained in:
		@@ -49,7 +49,6 @@ try{
 | 
			
		||||
}
 | 
			
		||||
catch(err){
 | 
			
		||||
	console.log("Starting without https (probably on localhost)");
 | 
			
		||||
	if(err.errno != 34)console.log(err);
 | 
			
		||||
	var cors_proxy = require('cors-anywhere');
 | 
			
		||||
	cors_proxy.createServer({
 | 
			
		||||
		requireHeader: ['origin', 'x-requested-with'],
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user