Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shift the app.run() call to the dronedemo script entrypoint to avoid …
…confusion.
- Loading branch information
Greg Taylor
committed
Feb 9, 2016
1 parent
8f43110
commit 5388ffb
Showing
2 changed files
with
1 addition
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,3 @@ | |
@app.route("/") | ||
def hello(): | ||
return "Hello World!" | ||
|
||
|
||
if __name__ == "__main__": | ||
app.run(host='0.0.0.0', port=5000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
|
||
def cli_entry(): | ||
app.run() | ||
app.run(host='0.0.0.0', port=5000) |