mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-11-03 17:08:00 +00:00 
			
		
		
		
	Added port via env
This commit is contained in:
		@@ -64,4 +64,5 @@ def index():
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
if __name__ == "__main__":
 | 
			
		||||
    app.run(debug=(FLASK_ENV == "development"), host="0.0.0.0", port=5000)
 | 
			
		||||
    port = int(os.getenv("PORT", 5000))
 | 
			
		||||
    app.run(debug=(FLASK_ENV == "development"), host="0.0.0.0", port=port)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user