From 80e447c5c818739f33b32aa683475280b44a6b5a Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 15 Jan 2025 15:11:36 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index c610c02..93da1e8 100644 --- a/server.py +++ b/server.py @@ -10,7 +10,7 @@ homefolder = str(Path.home()) app = Flask(__name__) @app.route("/robots.txt") def robots(): - return Response("User-agent: *\nDisallow: /", mimetype="text/plain") + return Response("User-agent: *\nAllow: /\nDisallow: /gem\nDisallow: /loadcert\nDisallow: gencert.zip\nDisallow: /certload", mimetype="text/plain") @app.route("/") def root(): return send_file("home.html")