And a robots.txt for good measure...

master
Gina Häußge 2013-08-11 16:57:39 +02:00
parent b168ef7e74
commit f622e1e181
2 changed files with 6 additions and 0 deletions

View File

@ -174,6 +174,10 @@ def index():
gitCommit=commit
)
@app.route("/robots.txt")
def robotsTxt():
return send_from_directory(app.static_folder, "robots.txt")
#~~ Printer control
@app.route(BASEURL + "control/connection/options", methods=["GET"])

View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /