diff --git a/api/api.py b/api/api.py index d6ec7f8..759f4c3 100644 --- a/api/api.py +++ b/api/api.py @@ -75,6 +75,11 @@ def index(): return send_file(os.path.join(STATIC_BUILD_DIR, "index.html")) +@app.route("/robots.txt", methods=["GET"]) +def robots(): + return send_file(os.path.join(STATIC_BUILD_DIR, "robots.txt")) + + @app.route("/api_v1/pin-lookup", methods=["POST"]) def handle_form0(): response_dict = address_candidates( diff --git a/public/robots.txt b/public/robots.txt index e9e57dc..eb05362 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,2 @@ -# https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: