Add healthcheck url

Esse commit está contido em:
IamTheFij 2018-04-05 17:00:48 -07:00
commit 796f1f885a
1 arquivos alterados com 5 adições e 1 exclusões

Ver arquivo

@ -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')