Skip to content

Instantly share code, notes, and snippets.

@moqada
Last active August 29, 2015 14:10
Show Gist options
  • Save moqada/2b8c9213b90b41e69215 to your computer and use it in GitHub Desktop.
Save moqada/2b8c9213b90b41e69215 to your computer and use it in GitHub Desktop.
# -*- 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