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