Browse Source

Add healthcheck url

master
IamTheFij 1 year ago
parent
commit
796f1f885a
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      viewers/main/viewer/main.py

+ 5
- 1
viewers/main/viewer/main.py 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')



Loading…
Cancel
Save