I thought this might actually be a little bit nicer to use. This moves the whole project up into the www directory, leaving json.cgi in the cgi-bin directory. Also renamed switcher.html to index.html. So now you need only browse directly to the address of the switch (without the ugly cgi-bin on the end). Also keeps the rest of the files out of a directory that can execute things.
@mattjoyce Can you review and merge this please? :smile:
I thought this might actually be a little bit nicer to use. This moves the whole project up into the
www
directory, leavingjson.cgi
in thecgi-bin
directory. Also renamedswitcher.html
toindex.html
. So now you need only browse directly to the address of the switch (without the uglycgi-bin
on the end). Also keeps the rest of the files out of a directory that can execute things.@mattjoyce Can you review and merge this please? :smile: