And a robots.txt for good measure...
This commit is contained in:
parent
b168ef7e74
commit
f622e1e181
2 changed files with 6 additions and 0 deletions
|
|
@ -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
octoprint/static/robots.txt
Normal file
2
octoprint/static/robots.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
||||
Loading…
Reference in a new issue