mirror of
				https://github.com/DarkflameUniverse/NexusDashboard.git
				synced 2025-11-04 06:01:53 +00:00 
			
		
		
		
	I didn't break anything, what are you talking about...?
This commit is contained in:
		
							
								
								
									
										2
									
								
								wsgi.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wsgi.py
									
									
									
									
									
								
							@@ -8,7 +8,7 @@ def make_shell_context():
 | 
			
		||||
    """Extend the Flask shell context."""
 | 
			
		||||
    return {'app': app}
 | 
			
		||||
 | 
			
		||||
running_directly = __name__ == "__main__"
 | 
			
		||||
running_directly = __name__ == "wsgi" or __name__ == "__main__"
 | 
			
		||||
running_under_gunicorn = not running_directly and 'gunicorn' in __name__ and 'linux' in platform
 | 
			
		||||
 | 
			
		||||
# Configure development running
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user