added health check, forgot to add template/cset <- allows deletion of comparison sets in earlier commit, and added a new TODO

This commit is contained in:
2025-11-05 01:13:22 +11:00
parent d4662b9051
commit ce20c57d11
3 changed files with 74 additions and 2 deletions

View File

@@ -252,6 +252,11 @@ def DeleteCSet():
delete_cset( data['id'] )
return "200"
# quick health route so traefik knows we are up
@app.route('/health')
def health():
return {"status": "ok"}, 200
# Main program
if __name__ == '__main__':
app.run(debug=True)