And a robots.txt for good measure...
This commit is contained in:
1 parent
b168ef7e74
commit
f622e1e181
2 files changed
+6
No files matched your search
@@ -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"])
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
Reference in new issue
Block a user