tartrazine/spec/examples/jinja+python/funko.py.j2

12 lines
175 B
Plaintext
Raw Normal View History

from flask import Flask, request
app = Flask("{{name}}")
@app.route('/')
def handle():
return "Hello World from Flask!"
@app.route('/ping')
def ping():
return "OK"