summaryrefslogtreecommitdiff
path: root/kbas
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-10-19 22:30:08 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-10-19 22:30:08 +0100
commitd1feb3c177c2ec6fb7ff6286c04e9b6eda72e979 (patch)
tree6dcb8bba2a259dbcf9cf9088d0e882b54470a682 /kbas
parentecdf95855a775fe631f575f7269e0ba8516e304c (diff)
downloadybd-d1feb3c177c2ec6fb7ff6286c04e9b6eda72e979.tar.gz
Show kbas status on /
Diffstat (limited to 'kbas')
-rwxr-xr-xkbas/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kbas/__main__.py b/kbas/__main__.py
index 1e0e372..e09a2ae 100755
--- a/kbas/__main__.py
+++ b/kbas/__main__.py
@@ -75,9 +75,10 @@ class KeyedBinaryArtifactServer(object):
path = os.path.join(cache_id, cache_id)
return static_file(path, root=app.config['artifact-dir'], download=True)
+ @bottle.get('/')
@bottle.get('/status')
def status():
- return ('ybd kbas status coming soon...')
+ return ('kbas ok')
@bottle.post('/upload')
def post_artifact():