Last active
August 29, 2015 14:10
-
-
Save moqada/2b8c9213b90b41e69215 to your computer and use it in GitHub Desktop.
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
# -*- coding: utf-8 -*- | |
from linesman.middleware import make_linesman_middleware | |
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/hello') | |
def hello(): | |
return 'hello' | |
if __name__ == '__main__': | |
app.wsgi_app = make_linesman_middleware( | |
app.wsgi_app, chart_packages='flask werkzeug') | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment