Add healthcheck url
这个提交包含在:
父节点
478a3fb225
当前提交
796f1f885a
|
@ -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')
|
||||
|
||||
|
||||
|
|
正在加载...
在新工单中引用