Add health check endpoint
This commit is contained in:
@@ -276,4 +276,8 @@ def export_data():
|
|||||||
mimetype='text/csv',
|
mimetype='text/csv',
|
||||||
as_attachment=True,
|
as_attachment=True,
|
||||||
download_name='readings.csv'
|
download_name='readings.csv'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@main.route('/health')
|
||||||
|
def health():
|
||||||
|
return "OK", 200
|
||||||
|
|||||||
Reference in New Issue
Block a user