homedash / kankun-json

A CGI script that provides a simple web interface and RESTful JSON API for the Kankun Small K wifi switch.
http://homedash.org
MIT License
34 stars 25 forks source link

Move the project up a directory (to www) for friendlier access #2

Closed Japh closed 9 years ago

Japh commented 9 years ago

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:

Japh commented 9 years ago

Merged so I can keep working on it this evening :smile:

mattjoyce commented 9 years ago

yup, makes sense. all good.