Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

deleted un-required api #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@

app = Flask(__name__)


@app.route('/')
def hello():
return 'Hello World!'


if __name__ == '__main__':
# Bind to PORT if defined, otherwise default to 5000.
port = int(os.environ.get('PORT', 5000))
app.run(host='0.0.0.0', port=port)
app.run(host='0.0.0.0', port=port)
11 changes: 7 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Flask==0.9
Jinja2==2.6
Werkzeug==0.8.3
wsgiref==0.1.2
Flask
itsdangerous
Jinja2
MarkupSafe
Werkzeug