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

@@ -276,4 +276,8 @@ def export_data():
mimetype='text/csv',
as_attachment=True,
download_name='readings.csv'
)
)
@main.route('/health')
def health():
return "OK", 200