changing server to use flask

This commit is contained in:
root
2019-04-26 16:03:42 +00:00
parent 9ec6f2a115
commit 854d822acc
6 changed files with 26 additions and 20 deletions

18
.vscode/launch.json vendored
View File

@@ -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
}
]
}

View File

@@ -1,3 +0,0 @@
{
"python.jediEnabled": false
}