aboutsummaryrefslogtreecommitdiffstats
path: root/routes/healthcheck.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-05 22:50:51 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-05 22:50:51 +0000
commit962be094cdcbf19b3a3939bd4bfa44162b3d2a86 (patch)
tree1a522029601bb1fd96652cef3279f628c4e77e39 /routes/healthcheck.py
parentFinally fix this garbage (diff)
Mart's Missing Files 2: Electric Boogaloo
Diffstat (limited to 'routes/healthcheck.py')
-rw-r--r--routes/healthcheck.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/routes/healthcheck.py b/routes/healthcheck.py
new file mode 100644
index 00000000..f06b18d3
--- /dev/null
+++ b/routes/healthcheck.py
@@ -0,0 +1,14 @@
+# coding=utf-8
+
+# External Libraries
+from werkzeug.wrappers import Response
+
+# Site Internals
+import ujson as json
+
+
+class Index:
+ path = ["/healthcheck"]
+
+ def get(self):
+ return Response(json.dumps({"status": "ok"}))