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

12 lines
174 B
Django/Jinja

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"