Permalink
Browse files

Fixed for HAProxy

  • Loading branch information...
1 parent 54694b2 commit ea77ed98548becdc4ce537af512d30832dcbc6e5 @thesteve0 thesteve0 committed May 4, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 wsgi/myflaskapp.py
View
@@ -81,6 +81,11 @@ def nameNear(name):
@app.route("/test")
def test():
return "<strong>It actually worked</strong>"
+
+#need this in a scalable app so that HAProxy thinks the app is up
+@app.route("/")
+def blah():
+ return "hello world"
if __name__ == "__main__":
app.run()

0 comments on commit ea77ed9

Please sign in to comment.