aboutsummaryrefslogtreecommitdiffstats
path: root/routes/healthcheck.py
diff options
context:
space:
mode:
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"}))