Commit 5388ffbb authored by Greg Taylor's avatar Greg Taylor

Shift the app.run() call to the dronedemo script entrypoint to avoid confusion.

parent 8f431103
......@@ -5,7 +5,3 @@ app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run(host='0.0.0.0', port=5000)
......@@ -2,4 +2,4 @@ from dronedemo.main import app
def cli_entry():
app.run()
app.run(host='0.0.0.0', port=5000)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment