diff --git a/server.py b/server.py index 4b5a317..d172f66 100644 --- a/server.py +++ b/server.py @@ -9,6 +9,8 @@ from pathlib import Path homefolder = str(Path.home()) import uuid app = Flask(__name__) +@app.route("/robots.txt"): + return Response("User-agent: *\nDisallow: /", mimetype="text/plain") @app.route("/") def root(): return send_file("home.html")