changing server to use flask
This commit is contained in:
		
							
								
								
									
										18
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
								
							@@ -5,11 +5,23 @@
 | 
			
		||||
    "version": "0.2.0",
 | 
			
		||||
    "configurations": [
 | 
			
		||||
        {
 | 
			
		||||
            "name": "Launch Server",
 | 
			
		||||
            "name": "Python: Flask",
 | 
			
		||||
            "type": "python",
 | 
			
		||||
            "request": "launch",
 | 
			
		||||
            "program": "${workspaceFolder}/server.py",
 | 
			
		||||
            "console": "integratedTerminal"
 | 
			
		||||
            "module": "flask",
 | 
			
		||||
            "env": {
 | 
			
		||||
                "FLASK_APP": "app.py",
 | 
			
		||||
                "FLASK_ENV": "development",
 | 
			
		||||
                "FLASK_DEBUG": "0"
 | 
			
		||||
            },
 | 
			
		||||
            "args": [
 | 
			
		||||
                "run",
 | 
			
		||||
                "--host","0.0.0.0",
 | 
			
		||||
                "--port","9000",
 | 
			
		||||
                "--no-debugger",
 | 
			
		||||
                "--no-reload"
 | 
			
		||||
            ],
 | 
			
		||||
            "jinja": true
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user