Add /coucou endpoint
This commit is contained in:
parent
3bcc2c9aef
commit
9e3dbfccff
@ -8,6 +8,10 @@ app = Flask(__name__)
|
||||
def home():
|
||||
return render_template('index.html')
|
||||
|
||||
@app.route('/coucou')
|
||||
def coucou():
|
||||
return "OK", 200
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
port = int(os.environ.get('PORT', 5000))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user