Files
coinbin.org/server.py
T
kennethreitz a70107622a basics
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-08-22 20:47:51 -04:00

16 lines
254 B
Python

from flask import Flask
from flask_common import Common
app = Flask(__name__)
app.debug = True
common = Common(app)
@app.route("/")
@common.cache.cached(timeout=50)
def hello():
return "Hello World!"
if __name__ == "__main__":
common.serve()