We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223b3cf commit f602ab0Copy full SHA for f602ab0
app.py
@@ -27,6 +27,11 @@ def hello():
27
print('Request for hello page received with no name or blank name -- redirecting')
28
return redirect(url_for('index'))
29
30
+@app.route('/healthcheck', methods=['GET'])
31
+def healthcheck():
32
+ print('Healthcheck request')
33
+ return render_template('hello.html', name = 'healthcheck')
34
+
35
36
if __name__ == '__main__':
37
app.run()
0 commit comments