Add healthcheck url

This commit is contained in:
IamTheFij 2018-04-05 17:00:48 -07:00
parent 478a3fb225
commit 796f1f885a
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni

Vedi File

@ -11,8 +11,12 @@ app.config['DEBUG'] = True
indexer_url = os.environ.get('INDEXER_URL', 'http://indexer')
@app.route('/healthcheck')
def healthcheck():
return 'OK'
@app.route('/')
def check():
def home():
return flask.render_template('home.html')