diff --git a/app/app.py b/app/app.py index 2d3e6f6..74dc000 100644 --- a/app/app.py +++ b/app/app.py @@ -12,5 +12,10 @@ app.add_api("swagger.yml") def home (): return render_template("home.html") +@app.route("/robots.txt") +@app.route("/robots") +def robots(): + return render_template("robots.txt") + if __name__ == "__main__": app.run(host="0.0.0.0", debug=True) diff --git a/app/static/robots.txt b/app/templates/robots.txt similarity index 100% rename from app/static/robots.txt rename to app/templates/robots.txt