Add healthcheck url

This commit is contained in:
IamTheFij 2018-04-05 17:00:48 -07:00
parent 478a3fb225
commit 796f1f885a

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