Add healthcheck url
This commit is contained in:
parent
478a3fb225
commit
796f1f885a
@ -11,8 +11,12 @@ app.config['DEBUG'] = True
|
|||||||
indexer_url = os.environ.get('INDEXER_URL', 'http://indexer')
|
indexer_url = os.environ.get('INDEXER_URL', 'http://indexer')
|
||||||
|
|
||||||
|
|
||||||
|
@app.route('/healthcheck')
|
||||||
|
def healthcheck():
|
||||||
|
return 'OK'
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def check():
|
def home():
|
||||||
return flask.render_template('home.html')
|
return flask.render_template('home.html')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user