Skip to content

Commit

Permalink
add ce-info route
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Reynolds committed Apr 29, 2024
1 parent 1095fee commit ceb8486
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions labapp/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit ceb8486

Please sign in to comment.