faaso/runtimes/flask/template/funko.py.j2

12 lines
174 B
Plaintext
Raw Permalink Normal View History

2024-07-05 20:33:05 +00:00
from flask import Flask
app = Flask("{{name}}")
@app.route('/')
def handle(req):
return "Hello World from Flask!"
@app.route('/ping')
def handle(req):
return "OK"