From ceb8486032b1113e45d1ef89a530ac6fb531069c Mon Sep 17 00:00:00 2001 From: Kevin Reynolds Date: Mon, 29 Apr 2024 11:25:29 -0400 Subject: [PATCH] add ce-info route --- labapp/app/app.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/labapp/app/app.py b/labapp/app/app.py index d4eeccd..a3fadc8 100644 --- a/labapp/app/app.py +++ b/labapp/app/app.py @@ -95,6 +95,12 @@ def ce_state(): data = get_ce_state(app.config['ce_info']) return data +@app.route('/_ce_info') +@cache.cached(timeout=30) +def ce_info(): + """temp for status build""" + return jsonify(app.config['ce_info']) + @app.route('/lb') def lb(): """lb page"""