Commit 3d168648 authored by Douglas Gore's avatar Douglas Gore

Show control URL on command line

Show control URL on command line to make it easier to get started if
user's IP address or hostname is not the default.
parent b69a579c
......@@ -65,4 +65,8 @@ if __name__ == '__main__':
}
robot.stop()
cherrypy.config.update({'server.socket_host': '0.0.0.0'})
print("Web controlled robot by PiCymru")
print("Control me from: " + cherrypy.url() + "/static/index.html")
cherrypy.quickstart(WebControl(), '/', conf)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment