Add health check endpoint

This commit is contained in:
Peter Stockings
2024-12-24 23:42:29 +11:00
parent f3c778048f
commit 2abd140dd8

View File

@@ -277,3 +277,7 @@ def export_data():
as_attachment=True, as_attachment=True,
download_name='readings.csv' download_name='readings.csv'
) )
@main.route('/health')
def health():
return "OK", 200