Update server.py

This commit is contained in:
Nova Cat 2025-01-14 19:23:13 -08:00
parent bd18cefc01
commit e20e350a0b

View file

@ -9,7 +9,8 @@ from pathlib import Path
homefolder = str(Path.home())
import uuid
app = Flask(__name__)
@app.route("/robots.txt"):
@app.route("/robots.txt")
def robots():
return Response("User-agent: *\nDisallow: /", mimetype="text/plain")
@app.route("/")
def root():