add server name flask param
This commit is contained in:
		
							parent
							
								
									b1ba481089
								
							
						
					
					
						commit
						91df8a0f26
					
				| 
						 | 
				
			
			@ -1,6 +1,7 @@
 | 
			
		|||
# Initialise flask
 | 
			
		||||
from flask import Flask
 | 
			
		||||
app = Flask(__name__)
 | 
			
		||||
app.config['SERVER_NAME'] = '0.0.0.0:5000'
 | 
			
		||||
app.config.from_prefixed_env()
 | 
			
		||||
 | 
			
		||||
# Initialise the bluetooth stack
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user