Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.225 kb
import os
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "hello, world"
if __name__ == "__main__":
port = int(os.environ.get("PORT", 5000))
app.run(host='0.0.0.0', port=port)
Jump to Line
Something went wrong with that request. Please try again.