And a robots.txt for good measure...

This commit is contained in:
Gina Häußge committed 2013-08-11 16:57:39 +02:00
1 parent b168ef7e74
commit f622e1e181
2 files changed
+6

No files matched your search

+4
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"])
+2
View File
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /