Add a health check endpoint
This commit is contained in:
parent
43d7bd0605
commit
9e43cee86c
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user