Add healthcheck url

This commit is contained in:
IamTheFij 2018-04-05 17:00:48 -07:00
부모 478a3fb225
커밋 796f1f885a
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

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