UTCSheffield / robot-enrichment

Code produced during our robotics enrichment activities and issues etc. to support it.
Apache License 2.0
1 stars 2 forks source link

Going to the server root should give you the interface #11

Closed mr-eggleton closed 9 years ago

mr-eggleton commented 9 years ago

/ make the index function redirect to /static/index.html rename the current index to status and have that be the default for do_comand() and thus k9

mr-eggleton commented 9 years ago

Copy the current index() and rename it to status()

make sure the last thing it tries in do_command() is status()

change k9() so that having no command makes it do status()

change index() to contain

raise cherrypy.HTTPRedirect("/static/index.html")

when you save this use the commit to branch option, cos this could kill it badly