Skip to content

Commit 14ac00b

Browse files
authored
Merge pull request #262 from ComputerScienceHouse/develop
Updating master with health check
2 parents 87ade5c + 7193443 commit 14ac00b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

conditional/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ def logout():
149149
return redirect("/", 302)
150150

151151

152+
@app.route("/health")
153+
def health():
154+
"""
155+
Shows an ok status if the application is up and running
156+
"""
157+
return {'status': 'ok'}
158+
159+
152160
@app.errorhandler(404)
153161
@app.errorhandler(500)
154162
@auth.oidc_auth

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"enumify": "^1.0.4",
3737
"jquery": "^3.1.0",
3838
"load-awesome": "^1.1.0",
39-
"lodash": "4.17.11",
39+
"lodash": "4.17.19",
4040
"reveal.js": "^3.3.0",
4141
"selectize": "^0.12.2",
4242
"selectize-scss": "^0.9.1",

0 commit comments

Comments
 (0)