Browse Source

add route

Oz N Tiram 9 years ago
parent
commit
1e624553d4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      frank/frank.py

+ 5 - 0
frank/frank.py

@@ -254,6 +254,11 @@ def start():
     return "OK"
 
 
+@app.route('/status')
+def status():
+    return "Frank is alive\n")
+
+
 @click.group()
 def cli():
     pass