@blueprint.route("<key>/<path:path>")
def get_meme_with_path(key, path):
    template = app.template_service.find(key)
    return redirect("/{}/{}".format(template.key, path))
Redirect if any additional path is provided.
dataset/ETHPy150Open jacebrowning/memegen/memegen/routes/templates.py/get_meme_with_path