Added ping endpoint, lower resource usage

This commit is contained in:
2024-07-06 20:48:56 -03:00
parent b611ed199b
commit 6ff67e0190
2 changed files with 5 additions and 1 deletions

View File

@ -5,3 +5,7 @@ app = Flask("{{name}}")
@app.route('/')
def handle(req):
return "Hello World from Flask!"
@app.route('/ping')
def handle(req):
return "OK"