Add a health check endpoint

This commit is contained in:
Ian Adam Naval 2019-01-21 23:52:16 -05:00
parent 43d7bd0605
commit 9e43cee86c

View File

@ -11,6 +11,11 @@ logging.config.dictConfig(LOGGING_CONFIG)
app = flask.Flask(__name__)
@app.route('/')
def health():
return "It works!"
@app.route('/schedule.ics')
def main():
reservations = get_reservations()